How to integrate

Prerequisites

 
Import PGW SDK

Get started by import 2C2P PGW SDK into your application for enabling mobile payments natively.

Initial PGW SDK

Before performing any payment transaction, your application is required to initialize 2C2P PGW SDK.

Handle PGW Payment Authentication

This client callback is for handle PGW payment authentication, and it will return payment token. Merchant will use payment token request Transaction Status Inquiry API for retrieve payment details.

Read backend payment response

Before performing any payment transaction, your merchant server is required to register Merchant's return URL under 2C2P Merchant Dashboard.


Construct payment request

Constructing the simplest way of for any payment type:

 
Generate payment token

Generate payment token for any payment request.

Proceed transaction

Submit payment request from 2C2P PGW SDK to 2C2P PGW securely. This allow 2C2P PGW SDK to redirect customer to the Issuer's ACS page to complete 3DS authentication when necessary on merchant application.

Inquiry payment result

Inquiry payment result information by transaction ID.


Retrieve payment information (Optional)

Retrieve payment options (Optional)

For retrieve merchant details, transaction details and enabled payment options based on merchant account’s configuration. Based on these information merchant can build their own transaction details and payment options layout.

Retrieve payment option details (Optional)

For retrieve bank bins or installment plans information based on merchant account’s configuration. Based on these information merchant can verify customer input or show option list to customer.


 

Next : Proceed Payment Features
To understand what are the 2c2p payment features and how it works.

Next : Proceed Payment Methods
Proceed to integration to each of the payment method.