Apple Pay Recurring
Streamlining Secure Recurring Payments with Apple Pay
Apple Pay and tap Integration
Ensure that you have integrated Apple Pay into your application or website. Follow Apple's documentation and tap guidelines to set up Apple Pay on your platform.
Integrate Tap Payments into your application or website to enable payment processing. Refer to Tap Payments documentation for the necessary integration steps.
Apple Pay Payload Availability
Confirm that Apple Pay payload is available and supported by Tap Payments. Check Tap Payments documentation or contact their support team for details on Apple Pay integration and recurring payment capabilities.
Create a Charge Request with tap token
Once Apple Pay payload is available, follow these steps to create a Tap token:
Use the Tap Payments API to initiate a charge request, specifying the necessary parameters including the "save_card" flag set to "true". This allows the card details to be securely stored for recurring payments.
Upon successful charge creation, you will receive a response containing the payment agreement ID, card ID, and customer ID. These details will be required for creating the recurring payment token.
Refer saved card flow for payment agreement ID and related details
Create a New Token
To create a new token for recurring payments, utilize the token endpoint provided by Tap Payments.
Create a recurring charge for Apple Pay
Make sure to include the following parameters while creating a recurring apple pay charge
Set "customer_initiated" to "false" to indicate that the payment is not initiated by the customer but rather by the merchant.
Provide the payment agreement ID received while saving the card via charges API
Process the Transaction
Once the recurring payment token is created, you can use it to process transactions on a recurring basis. Use the Tap Payments API to initiate the transaction, ensuring you include the necessary parameters such as the recurring payment token generated in the previous step.
Tap Payments will handle the payment processing based on the agreed-upon schedule, charging the customer automatically for the recurring service or subscription.
Updated about 1 year ago