DocumentationRecipesAPI ReferenceChangelog
Documentation

PGW UI SDK

Platforms

  • Android:
implementation("com.2c2p:pgw-ui-sdk:4.0.4")
  • iOS:
https://github.com/2C2P/PGWUISDK-SwiftPackage
📘

How to integrate:

Refer to: Guidelines for importing the 2C2P PGW SDK


Prerequisite

  • Android:
    • Add required abiFilters into your project build.gradle file.
defaultConfig {

   ...
   ...
  
   ndk {

       abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64'
   }
}

  • iOS:
    • Add required info to your project Info.plist.
    <key>LSApplicationQueriesSchemes</key>
    <array>
      <string>zalo</string>
      <string>zalopay</string>
      <string>zalopay.api.v2</string>
      <string>scbeasy</string>
      <string>momo</string>
      <string>line</string>
    </array>
    <key>CADisableMinimumFrameDurationOnPhone</key>
    <true/>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>Save image into photos app</string>
    <key>FLTEnableImpeller</key>
    <false/>

System Requirements

The SDK has been developed on following platform version:

PlatformMinimum Version
iOS12.0+
Android21+ (OS 5.0)

Changelog

Note: End of life (EOL)
If the SDK is marked "EOL," it will no longer execute payments as the backend SSL certificate has changed. Please update to more recent versions as soon as possible.

VersionDescription
4.0.4Android & iOS:
  - UI improvement.
4.0.3Android & iOS:
  - Implement with PGW SDK v4.7.1 & PGW SDK Helper v4.2.1 features.
4.0.2Android & iOS:
  - Implement with PGW SDK v4.7.0 & PGW SDK Helper v4.2.1 features.
4.0.1

Android & iOS:
  - Implement with PGW SDK v4.7.0 & PGW SDK Helper v4.2.0 features.

iOS:
  - Swift 5.10 & Xcode 15.4 support.

4.0.0

Android & iOS:
  - Global & local card payment.
  - Global & local third party payment.
  - Digital payment.
  - QR payment.
  - Web payment.
  - Pay at counter.
  - Self service machines.
  - Internet banking.

iOS:
  - Swift 5.10 & Xcode 15.3 support.