Non-hosted
About 1549 wordsAbout 5 min
2025-03-07
International credit cards are hereinafter referred to as Credit Card
Local payments are hereinafter referred to as APM
International Credit Card Payment
Prerequisites
Merchant has PCI qualification and has been verified by PingPongCheckout. (For PCI-DSS, please send email attachments to
acquire-risk@pingpongx.comand CCgig-tech-acq@pingpongx.com)Merchant has the capability to develop their own checkout system.
Note
This solution requires the merchant server to store and process cardholder credit card information, therefore it is mandatory that the merchant has PCI-DSS certification.
Interaction Flow
The following provides a brief explanation of the main steps
Step 1
Initialize the risk control plugin after entering the merchant's checkout page
Step 2
Listen to the card number input box, cardholder fills the card number, when the card number changes or the card number input box loses focus, trigger the initialization event - complexInit
Step 3
In the complexInit event, the risk control plugin interacts with the PingPongCheckout server, returning the jsGeneratedData parameter
Step 4
Client submits the order and jsGeneratedData parameter to the merchant server
Step 5
Merchant server requests Order and Pay, submitting jsGeneratedData and other parameters together
Step 6
PingPongCheckout server responds to the request result, deciding whether to enter the 3D process based on the return result
Step 7
No 3D verification required, merchant can execute custom logic, display payment result
Step 8
3D verification required
- Trigger the 3D verification event of the risk control plugin, the page will be redirected to the 3D challenge page, the cardholder needs to fill in 3D verification information
- Issuing bank verifies 3D information
- Issuing bank responds verification result to PingPongCheckout server
- Page is redirected to the payment result page filled in by the merchant
Step 9
PingPongCheckout server pushes payment result, for how to obtain asynchronous notification messages, see Asynchronous Notification
API List
Client Integration
Integrate Risk Control Plugin
End-to-end integration requires risk control JS to collect necessary information for transaction decision-making. When the cardholder completes entering the card number, the risk control plugin will call the PingPongCheckoutServer API to send card number data for verification,
See 3DS Integration Guide for details
Server Integration
Create Order and Pay
Request Order and Pay
Process Response
After requesting the transaction interface, PingPongCheckout responds based on request parameters, the merchant should handle the transaction according to the response. The processing result may be an intermediate state, requiring asynchronous notification integration to handle transaction status. Please go to Asynchronous Notification
Local Payment
Interaction Flow
The following provides a brief explanation of the main steps
Step 1
Client places order
Step 2
Merchant server requests Order and Pay
Step 3
If the request is successful, PingPongCheckout's response result has 2 possibilities:
- QR code: Follow the prompt, scan to pay
- url: Jump to APM payment channel provider
Step 4
Complete payment on the page specified by the APM channel
Step 5
PingPongCheckout server pushes payment result, for how to obtain asynchronous notification messages, see Asynchronous Notification
Step 6
After the merchant receives the notification, should return
code 200
API List
Server Integration
Create Order and Pay
Request Order and Pay
Client Integration
After successful server order placement, perform different operations based on the Order and Pay response parameters
| Parameter | Description |
|---|---|
| paymentQrCode | Display QR code to complete payment |
| paymentRedirectUrl | Direct redirect |
