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

PlatformAndroidiOS
unlistedoutdated

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

example/lib/main.dart

import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:softtek_openpay/softtek_openpay.dart';

main() async {
  String openPayToken;
  try {
    openPayToken = await SofttekOpenpay.getToken('JSON_REQUEST_HERE');
  } on PlatformException {
    openPayToken = 'Failed to get openPay Token.';
  }

  if (kDebugMode) {
    print(openPayToken);
  }
}
2
likes
130
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.

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on softtek_openpay

Packages that implement softtek_openpay