QRPH
QRPH is the QR code standard of the Philippines. It is convenient, secure, and cost-effectiveness, offering a single, standardized QR code for diverse bank or e-wallet payments in the Philippines. QRPH creates a secure, interconnected, cashless system for easier person-to-person (P2P) and person-to-merchant (P2M) transactions.
Properties
The following table lists the product properties supported by QRPH:
Payment type | Real-time payment | ||
Acquirer | AntomSG, AntomHK, AntomEU, AntomUS, AntomUK, AntomPH | Merchant entity location | SG, HK, EEA, US, UK, PH |
Payment flow | Code-scanning | Refund | ❌ |
Buyer country/region | Philippines | Partial refund | ❌ |
Processing currency | PHP | Refund period | ❌ |
Minimum payment amount | 20 PHP | Chargeback/Dispute | ✔️ |
Maximum payment amount | 9,999,999 PHP | Time to return payment result | Real-time |
Default timeout | 14 minutes | ||
User experience
Note: The following payment flows on different terminals are reference only, and represent this payment method's flow on different terminal types. For supported merchants' terminal types, consult Antom Technical Support.
The following figures show the journey of paying with QRPH:
- The buyer selects QRPH to pay at the merchant checkout page.
- The buyer is redirected to the Antom checkout page, where a generated QR code is displayed. The buyer can take a screenshot to save the QR code image.
- The buyer opens the desired bank or digital wallet app and selects the saved QR code image for scanning.
- The buyer completes the authorization and confirms the payment.
- The buyer completes the payment.
- The buyer manually switches back to the merchant page to check the payment result.
Supported online payment integrations
Antom offers a range of integration options tailored to each payment method. Each payment method may support different online payment integration options, allowing for flexibility based on your business requirements. The table below provides detailed information about the specific integrations available for each payment method:
Supported online payments | Supported integrations | Payment method manual |
One-time Payments | ✔️ API-only ✔️ Web Element ❌ Payment links | |
Auto Debit | ❌ | None |
Subscription Payment | ❌ | None |
EasySafePay | ❌ | None |
Scan to Link | ❌ | None |
Integration considerations
The following section outlines integration considerations for various payment types, detailing customized integration solutions and payment method features.
About normalUrl
- When accepting payments from QRPH, you can choose whether to use normalUrl:
- If choosing not to use normalUrl, you can directly render the codeValue in the API response on the merchant page to display the QR code or payment code, reducing page redirections and improving the payment experience.
- If choosing to use normalUrl, redirect your buyer to the address specified by normalUrl and proceed the payment process as indicated in User experience.
- For Web, WAP, and App terminals, normalUrl is returned in the response of the pay (One-time Payments) API. The buyer is redirected to the address specified by normalUrl and uses the payment code displayed on the page to proceed with the payment. The buyer completes the payment by scanning the code on the mobile phone, and the middle page automatically redirects to the merchant result page.
- Different terminal types have specific integration features when returning normalUrl.
- WAP: The returned normalUrl is the payment code and payment operation display page. The buyer takes a screenshot of the QR code first, and manually opens the specific payment method app to identify and pay.
- App: The returned normalUrl does not trigger the payment method app. It is recommended to render the URL page directly within the merchant app and provide payment operation steps to guide the buyer to complete the payment.
After payments
- After the buyer completes the payment in the bank app, the banking app will not automatically redirect to the merchant's results page. The buyer needs to manually navigate to the transaction initiation app (the merchant app or browser).
- This payment method does not support refunds. It is recommended to communicate directly with the buyer offline.
- Obtain the payment result from the payment result notification (notifyPayment) or by making inquiries (inquiryPayment). Handle the redirection and display of the payment result page to avoid duplicate payments.
Default timeout
- This payment method can specify the QR code expiration time from 60 sec to 9,000 sec. The transaction expiration time follows the QR Code expiration time.
- When displaying the QR code, use the expireTime parameter value returned in the pay (One-time Payments) API response to display the timeout information. When displaying the payment code, enable the copy function for the payment code and allow the buyer to conveniently paste the payment code into the payment method app.
- This payment method may result in a situation where the merchant closes the order while the buyer is still able to complete the payment, leading to potential payment discrepancies.
Response sample
The following is a code example in the payment response:
{
"normalUrl": "https://iexpfront-sea-global.alipay.com/payments/method/checkout/code.html?merchantId=188iwOYLsWM%2B3OM5i43oAN6sL7yTti1YlTOEpSbxNsmiew%3D&paymentRequestId=jNWtKr1NuNslNZI9bMSfKlezbo6TU5Z8Vc4r0js%2BJqk%3D&clientId=5Y607N2YJU8006726",
"orderCodeForm": {
"codeDetails": [
{
"codeValue": "https://iexpfront-sea.alipay.com/showQrImage.htm?code=eZhzE9rX8OM9t%252Fce8MFMfc0Dx0u3wBVn3oCmdfp9qqrzkmP37J40Gk5IIIFnjCZP7P7w4G3%252BmQVNKCjO%252B6j1F4UewQGtMv5Nq4pKsB4re6jQ6vZzUsqePuN5zzVMF32CJpI5a0CbtXinyDmKB5Eij4p%252FiV7a2pOHaJcApShfBb86Sni27fd%252FsWj%252FvtEpLV5pNqIJrr6kX9mFmR3KMLTnpoE8zlt04rcpE2nF8iObXx%252FGmneNcwctjLwNw46pJSBbn%252FPP9v5OfXs9kzzpO967gijOE8PalKQKBSq4M16fsjc%253D&size=M&sid=188",
"displayType": "MIDDLEIMAGE"
}
],
"expireTime": "2024-03-13T23:08:10-07:00"
},
"paymentActionForm": "{\"paymentActionFormType\":\"PaymentCodeForm\",\"paymentCodeExpireTime\":1710396490000,\"paymentCodeInfos\":[{\"paymentCodeDetails\":[{\"codeValue\":\"00020101021230650016A00000067701011201150105552061356500209111175911030924461022052047399530376454043.005802TH5925EMVQR - AliPay Singapore 6007Bangkok62550109111175911050911117591107011082020240314909804823525630474C3\",\"codeValueType\":\"QRCODE\",\"displayType\":\"IMAGE\"}],\"paymentCodeInfoType\":\"PAYMENT_CODE\"}]}",
"paymentAmount": {
"currency": "THB",
"value": "300"
},
"paymentCreateTime": "2024-03-13T22:54:10-07:00",
"paymentId": "20240314194010800100188980210741856",
"paymentRequestId": "PAY_20240314135409345",
"redirectActionForm": {
"method": "GET",
"redirectUrl": "https://iexpfront-sea-global.alipay.com/payments/method/checkout/code.html?merchantId=188iwOYLsWM%2B3OM5i43oAN6sL7yTti1YlTOEpSbxNsmiew%3D&paymentRequestId=jNWtKr1NuNslNZI9bMSfKlezbo6TU5Z8Vc4r0js%2BJqk%3D&clientId=5Y607N2YJU8006726"
},
"result": {
"resultCode": "PAYMENT_IN_PROCESS",
"resultMessage": "payment in process",
"resultStatus": "U"
}
}