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

PlatformAndroidiOS
unlisted

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

softtek_openpay #

This plugin was designed to facilitate the connect process with OpenPay in Android and iOS apps.

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

Add Dependencies for Android app #

  1. Add new directory 'openpay' inside 'Android' directory.
  2. Inside openpay directory add the last version of openpay-android-release.aar
  3. Inside openpay directory add new build.gradle file with following content:
configurations.maybeCreate("default")
artifacts.add("default", file('openpay-android-release.aar'))
dependencies { }
  1. Open build.gradle (in android directory) Add the below dependencies:
dependencies {
    ...
    implementation 'com.google.http-client:google-http-client-jackson2:1.28.0'
    implementation 'com.fasterxml.jackson.core:jackson-core:2.9.8'
    implementation 'com.google.code.gson:gson:2.8.6'
    compile project(':openpay')
}
  1. Open setting.gradle (in android directory). Add the below code:
   include ':openpay'

Add Dependencies for iOS app #

In progress...

Flutter implementation #

Use the SofftekOpenpay class to call getToken method, send the request in json format.

main(List<String> arguments) async {
      openPayToken = await SofttekOpenpay.getToken(JSON_REQUEST);
}

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
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