A new Flutter plugin to connect with vnpay sdk.
This project is a starting point to connect with vnpay sdk vnpay,
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
In the ios/Runner/Info.plist let’s add:
<dict>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSAllowsArbitraryLoadsInWebContent</key>
<true/>
</dict>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>vnpayxxx</string>
<key>CFBundleURLSchemes</key>
<array>
<string>vnpayxxx</string>
</array>
</dict>
</array>
Add this to you package's pubspec.yaml
file:
dependencies:
flutter_kgo_vnpay: ^0.0.2+3
Run command:
$ flutter pub get