Testing Apple Pay
Prerequisites for Testing Apple Pay
Apple mandate that you meet the following requirements before you can start testing.
- Have an Apple Pay supported device, running a supported operating system
- You have an App Store Connect sandbox tester account, and that account is signed in on the testing device
- That you have added at least one Apple Pay test card to the Apple Wallet on the testing device
The full details regarding Apple Pay sandbox testing, including how to setup your sandbox test account, and the current test card numbers can be found on Apple's developer site.
Apple require you to perform your testing from a Fully Qualified Domain Name. You cannot test Apple Pay using
localhost
or an IP address.
Your retail channels must be enabled for Apple Pay. Please get in contact with support to get started enabling Apple Pay on your retail channels.
Testing Apple Pay
Testing Apple Pay is identical to using it in a production environment.
- Render the Apple Pay button on your payment page - If you are using HPP this is managed for you.
- Click, or tap on the "Buy with Apple" button
- Once the payment sheet loads, authorise the purchase using TouchID or FaceID.
BR-DGE will then manage the payment to your chosen Payment Service Providers.
Each payment service provider will have their own differing test cases for Apple Pay. You should check directly with your PSP for specific test cases.
Updated about 2 months ago