No momento, esta página não está disponível em português
Payment-method icon

Apple Pay Component

Add Apple Pay to an existing iOS Components integration.

This page explains how to add Apple Pay to your existing iOS Components integration.

If you are selling digital goods in your native iOS app, use Apple's in-app purchase instead of Apple Pay.

Requirements

Select which endpoint you are using:

API reference

You do not need to send additional fields for Apple Pay. To see optional fields that you can send for all payment methods, choose the endpoint you integrated:

If you run into an error, refer to Handle Apple Pay errors.

Component configuration

Optional configuration

Recurring payments

To enable recurring payments, you must include PKRecurringPaymentRequest when configuring Apple Pay.

To make recurring Apple Pay payments, you have to create a shopper token and then make subsequent recurring transactions with the token.

Test and go live

Use Apple's test card numbers to test your integration.

For a full list of test cards and instructions how to add these to your test device, see Sandbox testing on Apple's Developer website.

Check the status of an Apple Pay test payment in your Customer Area > Transactions >  Payments.

Going live

To process live Apple Pay payments, your API credential needs to have the API Clientside Encryption Payments role. You can check this in your live Customer Area or ask your Admin user to verify.

Set up Apple Pay on your Apple Pay Developer account for your live merchant identifier.

See also