ApplePay-Drop In Integration
This document describes the integration requirements for using Apple Pay under the Drop In.
1. Integration Notes
The merchant integration and drop in payment common process is basically the same in this model. The merchant cashier page integrates with the ApplePay Frontend API , users do not need to jump to the PayerMax cashier page, which reduces the jumping process.
Meanwhile, ApplePay certificates are uniformly maintained by PayerMax, merchants only need to download the ApplePay certification file and save it in the specified location.
Contact PayerMax technical support to provide the domain names of your official and test environments to complete Apple's domain name certification requirements. Especially note that
127.0.0.1
,LAN IP
,localhost
can't pull up ApplePay in the test environment.Download the ApplePay authentication file and place it in the specified path
https://[Pending Domain Name Registration]/.well-known/apple-developer-merchantid-domain-association
.
Test environment certification documentation: apple-developer-merchantid-domain-association;
Documentation of certification of the production environment: apple-developer-merchantid-domain-association.
- After the merchant has configured the certificate, notify PayerMax to validate the domain certificate and PayerMax will operate the domain certificate validation in the Apple developer backend. If the validation fails, the possible reasons are as follows:
The certificate path is misconfigured;
Your firewall is blocking the Apple Check service, please configure the link page domain to the server whitelist;
You may have already configured a certificate for another MerchantID. In this case, you can use the new domain name, or delete the corresponding domain certificate on the original developer account.