Testing Apple Pay
Once you have integrated Apple Pay into your website or app, the next stage is to test it!
Firstly, you need to set up your sandbox testing account in Apple. View the Apple Developer help instructions here.
Once you have set up your sandbox account you can simulate different responses from our API to test Apple Pay. (Use the test cards that are listed in the Apple sandbox guide.)
You must update the amount
value in your request as detailed below:
Note
To test a successful response, you can submit any other value.
Amount | Status | Reason | Description |
---|---|---|---|
11.02 | declined | generic_decline | Issuer returned a generic decline. |
11.03 | declined | insufficient_funds | The account did not have sufficient funds to cover the transaction amount at the time of the transaction. |
11.04 | declined | lost_or_stolen | The submitted card has expired or been reported lost and a new card has been issued. |
Updated almost 2 years ago