Device Payments
Integration Flow (Apple Pay)
Preparation
Please use CSR file provided by Tap for your Master Test Keys. Upload it to your Apple Pay developer account and provide the CER file back to us. Integrate the Apple Pay button to obtain the Apple Pay payload. Make sure to pass the correct country code for each country.
Save Apple Pay - with an Authorize Transaction
- Request for "Create Token for Apple Pay" API to obtain the “Token ID”
- Create an Authorize Request
- Pass the “Token ID” in the Source.
- Pass a small amount (1 SAR, 0.100 KWD, BHD)
- Apply Auto Void after 1 hour - To auto void the amount
- Pass 3DS as True - To Authenticate with 3DS
- Pass Customer Initiated as True
- Pass Save Card as True - To save the card after a successful card 3DS Authentication and Authorization.
- Pass the Customer ID - Generated by the customer API in the customer object.
- Pass the correct MID related to each country.
- Pass the Redirect URL to redirect back after the 3DS Authentication
- Pass the Post URL to pass the response after the 3DS Authentication
- Save the following details from the Authorize Response for future transactions.
- Authorize ID
- Authorize Status
- Card ID
- Customer ID
- Payment Agreement ID
Transactions - with a Save Apple Pay
Use the same Transaction flow for the Card and by using the Card ID that is linked with the Apple Pay DAN
Updated about 1 year ago