Create a Payment Method API approach
Learn how to enable Adyen Apple Pay in Zuora and create a payment method using the REST API.
Prerequisites
- Ensure that you have enabled the Apple Pay functionality for your Adyen merchant account, and built your payment form to retrieve Apple Pay tokens as described in Adyen documentation.
You can use either an Adyen Apple Pay certificate or a custom Apple Pay certificate to generate an Apple Pay token. However, Zuora recommends that you take the Adyen certificate approach.
If you use the Adyen Apple Pay certificate to generate an Apple Pay token, all certificate management work is done on the Adyen side, so you do not need to upload it in Zuora. However, you need to retrieve a Base64 encoded string as a response. This string should be decoded prior to being sent to Zuora. See the Apple Pay session response from Adyen documentation for details.
If you use a custom Apple Pay certificate, you are responsible for the generation of the certificate and maintenance of its lifecycle. See Use your own Apple Pay certificate to complete the Apple Pay session validation from Adyen documentation for more information.
- Ensure that an Adyen Integration v2.0 gateway instance is in active use in your Zuora tenant.
Take the following steps to enable Adyen Apple Pay:
- In your Zuora tenant, navigate to Settings > Payments > Payment Method .
- Click Edit and then select Adyen Apple Pay .
- Click Save . The Adyen Apple Pay payment method is then activated in your Zuora tenant.