PGW SDK

The 2C2P Payment Gateway (PGW) SDK allows merchants to build an excellent payment experience within their mobile apps by integrating easily with 2C2P's payment gateway. As 2C2P provides omnichannel payment processing, the Payment Gateway SDK gives merchants access to a full suite of payment options.

Platforms

  • Android:
implementation("com.2c2p:pgw-sdk:4.7.1")
  • iOS:
https://github.com/2C2P/PGWSDK-SwiftPackage

📘

How to integrate:

Refer to: Guidelines for importing the 2C2P PGW SDK

❗️

Important:

Refer to:
Part 1: Xcode 16 warning about missing symbols (dSYM)

Part 2: Xcode 16 warning about missing symbols (dSYM)


System Requirements

The SDK has been developed on following platform version:

PlatformMinimum Version
iOS12.0+
Android19+ (OS 4.4)

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.

VersionDescriptionResource
4.7.1Android & iOS:
- Code improvements.

iOS:
- Swift 6.0.2 & Xcode 16.1 support.
---
4.7.0Android:
- Convert code base to Kotlin.

iOS:
- Swift 5.10 & Xcode 15.4 support.
---
4.6.0Android & iOS:
- Enable UI Payment.

iOS:
- Swift 5.10 & Xcode 15.3 support.
---
4.5.1iOS:
- Swift 5.8.1 & Xcode 14.3.1 support.
Android:
- Android Archive (AAR)

iOS:
- Dynamic Framework
4.5.0Android & iOS:
- Upgrade to PGW API 4.3.

iOS:
- Swift 5.8 & Xcode 14.3 support.
Android:
- Android Archive (AAR)

iOS:
- Static & Dynamic Framework
4.4.1iOS:
- Swift 5.5.1 & Xcode 13.1 support.
Android:
- Android Archive (AAR)

iOS:
- Static & Dynamic Framework
4.4.0Android & iOS:
- Update HTTPS certificate.

iOS:
- Swift 5.4 & Xcode 12.5 support.
Android:
- Android Archive (AAR)

iOS:
- Static & Dynamic Framework
4.3.3
EOL on 1/6/2022
Android & iOS:
- Update HTTPS certificate.

iOS:
- Swift 5.3.1 & Xcode 12.2 support.

Note: If you wish to target a swift version < 5.3.0,
please use the v4.3.2.
Android:
- Android Archive (AAR)

iOS:
- Static & Dynamic Framework
4.3.2
EOL on 1/2/2021
Android & iOS:
- Fixed payment response handling for production.
Android:
- Android Archive (AAR)

iOS:
- Static & Dynamic Framework
4.3.1
EOL on 1/2/2021
iOS:
- Swift 5.3.0 & Xcode 12.0 support.

Note: If you wish to target a swift version < 5.2,
please use the v4.3.0.
iOS:
- Static & Dynamic Framework
4.3.0
EOL on 1/2/2021
Android & iOS:
- New APIs interface:
- Improved payment options API.
- Improved payment option details API.
- Improved do payment API.
- Transaction status inquiry API.
- Cancel transaction API.
- PGW initialization API.
- User preference API.
- Card tokens information API.
- Exchange rate API.
- Payment notification for customer API.

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

- Supported payments: Payment Channel Matrix
Android:
- Android Archive (AAR)

iOS:
- Static & Dynamic Framework
4.2.10
EOL on 1/10/2020
Android:
- Improve payment response handling for PGWWebViewClient.

iOS:
- Improve payment response handling for PGWWKWebViewDelegate.
- Fix mach-o type issue while export IPA file for dynamic framework.
Android:
- Android Archive (AAR)

iOS:
- Static & Dynamic Framework
4.2.9
EOL on 1/10/2020
Android & iOS:
- Update HTTPS certificate.

Important: Please update to v4.2.9 as soon as possible,
due to end of life of HTTPS certification for < v4.2.9.
Android:
- Android Archive (AAR)

iOS:
- Static & Dynamic Framework
4.2.8
EOL on 5/2/2020
iOS:
- Swift 5.1.2 & Xcode 11.2.1 support.

Note: If you wish to target a swift version < 5.1,
please use the v4.2.7.
iOS:
- Static & Dynamic Framework
4.2.7
EOL on 5/2/2020
iOS:
- Swift 5.1 & Xcode 11.0 support.

Note: If you wish to target a swift version < 5.0.1,
please use the v4.2.6.
iOS:
- Static & Dynamic Framework
4.2.6
EOL on 5/2/2020
iOS:
- Swift 5.0.1 support.
iOS:
- Static & Dynamic Framework
4.2.5
EOL on 5/2/2020
iOS:
- Swift 5.0 & Xcode 10.2 support.

Note: If you wish to target a swift version < 5.0,
please use the v4.2.4.
iOS:
- Static & Dynamic Framework
4.2.4
EOL on 5/2/2020
iOS:
- Swift 4.2.1 & Xcode 10.1 support.

Note: If you wish to target a swift version < 4.2.1,
please use the v4.2.3.
iOS:
- Static & Dynamic Framework
4.2.3
EOL on 5/2/2020
iOS:
- Enable bitcode support.
iOS:
- Static & Dynamic Framework
4.2.2
EOL on 5/2/2020
Android & iOS:
- Update HTTPS certificate.

Important: Please update to v4.2.2 as soon as possible,
due to end of life of HTTPS certification for < v4.2.2.
Android:
- Android Archive (AAR)

iOS:
- Static & Dynamic Framework
4.2.1 EOLiOS:
- Swift 4.2 & Xcode 10 support.

Note: If you wish to target a swift version < 4.2,
please use the v4.2.0.
iOS:
- Static & Dynamic Framework
4.2.0 EOLAndroid & iOS:
- Enable credit card payment.
- Enable installment payment.
- Enable recurring payment.
Android:
- Android Archive (AAR)

iOS:
- Static & Dynamic Framework