urwaypayment 2.0.0
urwaypayment: ^2.0.0 copied to clipboard
This Flutter plugin provide merchants to easy and hasslefree integration with Urway Payment gateway API's.
flutter_payment_plugin #
This Flutter plugin provide merchants to easy and hasslefree integration with Merchant Payment gateway API's.
Getting Started #
Import the package to your pubspec.yaml to use it:
...
dependencies:
...
<<<<<<< HEAD urwaypayment: ^2.0.0 #
flutter_payment_plugin: ^3.0.0
e1e0d3abb3b3a2447b252a900a67a34c5ed3522a ...
...
Addition Configuration for performing transactions. #
Configure Terminal Id, Terminal Password, Merchant key and URL into appconfig.json file. And place the file into application asset folder.
Permission #
You need to put the following implementations in Android and iOS respectively.
Android
-
Make sure to add this line android:usesCleartextTraffic="true" in your
<application android:usesCleartextTraffic="true"> </application>
Required Permissions are:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
iOS Add following code in your
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key> <true/>
</dict>
<key>io.flutter.embedded_views_preview</key> <true/>