Check Your Device and Browser Settings
If you cannot see the wallet you want on the payment page, your device or browser may not meet the following Apple Pay or Google Pay requirements.- You must have at least one card in your wallet.
- You must use compatible Apple Pay devices and Google Pay devices.
- You must use HTTPS and supported browsers to test the wallet you are testing.
- Allow applicable browsers to access your wallet.
- Chrome: Settings > Autofill and passwords > Payment methods > Allow sites to check if you have saved payment methods
- Safari: Settings > Advanced > Allow websites to check for Apple Pay and Apple Card
- Do not use Chrome incognito window or Safari private window.
- Confirm you are operating in supported Apple Pay and Google Pay regions.
- For Apple Pay, confirm your device supports biometric authentication.
Supported Browsers
Desktop Browsers
- Chrome 38+
- Safari 10.1+
- Firefox 29+
- Edge 15+
- Opera 25+
Mobile Browsers
- iOS Safari 9+ and other browsers and web views using the system-provided WebKit engine
- Android Chrome 38+
- Samsung Browser 7.1+
Other Notes
For browsers not explicitly supported, we limit support as follows:- Requires browser support for TLS 1.2
- Requires a sufficiently modern browser to support Promises in JavaScript
- We respond to error reports but do not actively test other browsers
Transaction Limits
Collection API
Collection Application
Brief Description:- Create a collection order
/usd/collect/apply
Note: appId for USD, amount in USD, settlement in USD
Parameters:
Response data parameter description
Collection Query
Brief Description:- Query collection order
/usd/collect/query
Parameters:
Response data parameter description
HaiPaySDK Integration Documentation (Apple Pay & Google Pay)
HaiPaySDK provides a convenient Apple Pay and Google Pay payment integration solution that allows you to quickly integrate payment functionality into web pages through simple configuration.- Import HaiPaySDK script ([https://cdn.jsdelivr.net/gh/hpth/payment/cashier/js/applePayGooglePay_1.0.0.js])
- Page structure requirements
- Payment button container: Used for rendering Apple Pay/Google Pay buttons.
- Error message container: Used to display error messages during the payment process (such as parameter errors, payment failures, etc.).
- Quick integration example
- Parameter description
-
- Initialization configuration parameters (HaiPay constructor parameters)
-
-
- Common error types and solutions

