ApplePay encrypted
Last updated
Last updated
The client clicks the "Pay for Order" button on the website or application.
The WebPage executes the Apple Pay Support Request script to check whether Apple Pay is supported on the current page.
If the client’s device does not support Apple Pay, the client will not be able to use this payment method, and the request will be rejected.
If Apple Pay is supported, the WebPage sends an optional Merchant Data Request to Apple Pay. Merchant-side hard-coded Apple Pay data can be used.
The WebPage executes the Merchant Validation script via Apple Pay to confirm the merchant data.
Apple Pay returns a callback containing the validationUrl
parameter.
The client clicks the Pay with Apple Pay button to confirm the selection of this payment method.
A session with Apple Pay is established, and the client’s device is ready to interact with Apple Pay.
In response to session establishment, Apple transmits tokenized card data.
The client is presented with a list of available cards stored on the device for payment.
The client selects a card for payment.
The client’s device script interacts with Apple’s server to obtain the encrypted paymentToken
.
Client authentication is performed via biometrics or password.
Apple generates the paymentToken
and transmits it to the WebPage for further processing.
The WebPage sends a Payment Processing Request using the received token.
If 3D Secure (3DS) verification is required, the 3DS process is initiated. If 3DS is not required, the transaction proceeds without it.
Non-3DS Flow:
The payment is authorized.
A response to the Payment Processing Request is generated.
3DS Flow:
Additional verification is performed via 3DS.
Upon verification completion, a response to the Payment Processing Request is returned, including the redirect3dsUrl
parameter.
The WebPage redirects the client to the redirect3dsUrl
page for 3DS authentication.
The client confirms the transaction via 3DS.
The transaction is authorized.
A callback is sent to the merchant at the specified notificationUrl
, containing transaction details.
The client is redirected to a Result Page, confirming the payment completion.