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:
To test a successful response, you can submit any other value.
|11.02||Issuer returned a generic decline.|
|11.03||The account did not have sufficient funds to cover the transaction amount at the time of the transaction.|
|11.04||The submitted card has expired or been reported lost and a new card has been issued.|
Updated 9 months ago