PGW SDK for Flutter

The 2C2P Payment Gateway (PGW) SDK For Flutter simplified integration solution for flutter platform with 2C2P Payment Gateway (PGW) SDK & 2C2P Payment Gateway (PGW) SDK Helper.


Prerequisite

  • Flutter / Dart:

Add these to your package's pubspec.yaml file:

dependencies:  
  pgw_sdk: ^4.0.6
  webview_flutter: ^4.7.0  
  • Android:

Step 1: Update your flutter project settings.gradle file.

Step 2: Add into your Android project proguard file.


#PGWFlutter
-keep class com.ccpp.pgw.sdk.flutter.** { *; }
-keepnames class com.ccpp.pgw.sdk.flutter.* { *; }
-keepnames interface com.ccpp.pgw.sdk.flutter.* { *; }

#com.fasterxml.jackson
-keep class com.fasterxml.jackson.** { *; }
-keepnames class com.fasterxml.jackson.* { *; }
-keepnames interface com.fasterxml.jackson.* { *; }
-dontwarn java.beans.ConstructorProperties
-dontwarn java.beans.Transient
  • iOS:

Step 1: Add deep link payment handle into your iOS Runner.xcodeproj. [Here]

Step 2: Add Apple Pay handle into your iOS Runner.xcodeproj. [Here]


System Requirements

The SDK has been developed on following platform version:

PlatformMinimum Version
iOS12.0+
Android21+ (OS 5.0)
Dart>=3.0.0 <4.0.0

Changelog:

VersionDescriptionResource
4.0.6- Improve code integration.- Download
4.0.5- Improve code integration.- Download
4.0.4- Implement with PGW SDK v4.6.0 & PGW SDK Helper v4.1.1 features.- Download
4.0.3- Implement with PGW SDK v4.5.2 & PGW SDK Helper v4.1.0 features.- Download
4.0.2- Implement with PGW SDK v4.5.1 & PGW SDK Helper v4.0.0 features.- Download