- 11 Sep 2023
- 2 Minutes to read
- Print
- DarkLight
Apple Pay sandbox testing setup
- Updated on 11 Sep 2023
- 2 Minutes to read
- Print
- DarkLight
Apple Pay sandbox testing setup
The Apple Pay sandbox environment allows integrators to test their implementation of Apple Pay with test credit and debit cards.
Note: It is also important to test Apple Pay in your production environment. Real cards must be used in the production environment. Test cards will not work.
Prerequisites
You’ll need the following to test Apple Pay in the sandbox:
iPhone 6 or later, iPad mini 3 or later, iPad Air 2 or iPad Pro
App Store Connect sandbox tester account
Supported test card credentials.
Request and use a sandbox tester account
Email evolvesupport@theaccessgroup.com to request an App Store Connect sandbox tester account. You will need to provide an email address that hasn't been used for an Apple ID previously.
Sign out of the current Apple ID on all testing devices and sign back in with your new sandbox tester account.
Adding a test card number
To get started, add a test card to Wallet:
Make sure to sign out of iCloud and sign into your test device with your sandbox tester account.
Go to Wallet and tap Add Credit or Debit Card.
Using your test card credential (details below), follow the steps to add a new card using manual entry.
After your card has been added, you may begin testing.
Note: To add test cards on your device and use the sandbox, you will need to make sure that your device’s region is set to United Kingdom.
Testing Apple Pay on your website
With your iPhone or iPad, you can use the Apple Pay sandbox to pay within your website. The Apple Pay sandbox environment allows integrators to test Apple Pay before or after implementation. Integrators don’t have to use their personal production cards for testing.
Note: Your sandbox test transaction will decline pre-fulfillment as the test key will not match your production key.
Test cards for the web
Test card numbers from the payment networks are listed below and can be used on supported devices to test within the Apple Pay sandbox environment. Please note that Evolve currently supports Mastercard and Visa only.
MasterCard | Visa |
Credit
Debit
|
|
Adapted from: https://developer.apple.com/apple-pay/sandbox-testing/