softtek_openpay 1.0.5 copy "softtek_openpay: ^1.0.5" to clipboard
softtek_openpay: ^1.0.5 copied to clipboard

unlistedoutdated

This plugin was be designed to facilitate the connect process with OpenPay for Android an iOS devices apps.

softtek_openpay #

This plugin was be designed to facilitate the connect process with OpenPay for Android an iOS devices apps.

In this version only the token creation have been implemented for now.

Usage #

main(List<String> arguments) async {
      const request = OpenPayRequest(
        credentials: OpenPayCredentials(
          productionMode: false,
          merchant: 'MERCHANT_ID',
          apiKey: 'API_KEY',
        ),
        cardInfo: OpenPayCardInfo(
          name: 'Luis Alberto Gutierrez Loz',
          cardNumber: '4111111111111111',
          expirationMonth: 12,
          expirationYear: 23,
          cvv: '123',
        ),
      );
      final requestJson = jsonEncode(request);
      openPayToken = await SofttekOpenpay.getToken(requestJson);
}

Getting Started with Flutter #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

2
likes
0
points
56
downloads

Publisher

unverified uploader

Weekly Downloads

This plugin was be designed to facilitate the connect process with OpenPay for Android an iOS devices apps.

License

unknown (license)

Dependencies

flutter

More

Packages that depend on softtek_openpay

Packages that implement softtek_openpay