Skip to main content
Accept payments from customers using Apple Pay, the digital wallet built into Apple devices. Customers authenticate the charge using Face ID, Touch ID, or their device passcode — no card details are entered manually.
This payment method only supports one-time (non-recurring) payments. It is available on Safari on iOS, iPadOS, and macOS devices with Apple Pay configured.

Payment flow

Several steps occur between collecting the customer’s billing information and completing the charge.
We’ll proceed assuming you’ve already set up a customer order. If you need to create one, you’ll find the steps here.
After creating the order, follow these steps to complete the Apple Pay charge.
  1. Collect the customer’s billing information.
  2. Encrypt sensitive data within your request.
  3. Redirect the customer to the Apple Pay checkout page to authorise the charge.
  4. Confirm the payment and inform the customer of its outcome.

Apple Pay Customer Information

Present the customer with a form to gather their billing details. These are required to initiate the transaction: Combine the billing data, order reference, and paymentoption. Encrypt the request before sending it to the pay order endpoint.
Upon receiving your request, we will return a successful response containing a redirect URL for the Apple Pay checkout page.
200 OK

Authorising the Payment

Redirect the customer to the paymentDetail.redirectUrl. On this page, the customer is prompted by their Apple device to authenticate the payment using Face ID, Touch ID, or their device passcode. Once the customer authenticates, Apple Pay processes the transaction and EPayClub is notified of the outcome. You will receive a webhook containing the final transaction status regardless of whether the payment was approved or declined.

Verifying the Payment

Read the transaction verification section to learn how to verify your Apple Pay transactions.

Testing your integration

Kindly contact the support team to enable Apple Pay testing on your account.
Follow these guidelines to successfully test your Apple Pay integration:
  1. Use an Apple device running Safari with a test Apple Pay card configured in Wallet.
  2. Ensure the billing address details match the country of the test card.
  3. Use test credentials provided by the support team to complete the payment on the hosted page.
  4. Verify the final transaction status using the order verification endpoint or by checking the webhook payload delivered to your configured webhook URL.