Инструменты страницы
Payment using Apple Pay (mobile app)
On a payment with Apple Pay, the interaction occurs according to the following scheme.
One-phase payment | Two-phase payment | |
---|---|---|
1 | The user selects in mobile app Apple Pay as payment method. | |
2 | The payment data is sent to the Apple Pay system for processing. | |
3 | To process payment data in the Apple Pay system, a PKPaymentToken Object is created, which contains the paymentData property (hereinafter, see Apple Pay documentation). |
|
4 | Apple Pay sends a response to the merchant (mobile app). | |
5 | The merchant extracts from the received PKPaymentToken Object object the paymentData property and encodes its content in Base64. |
|
6 |
The merchant creates a payment request containing
Notably, the |
The merchant creates a payment request containing
Notably, the |
7 | The payment gateway processes the request and returns a response with: the result. |
|
8 | The App displays to the user the result of the payment. | |
9 |
The merchant requests from payment gateway the order payment status by passing a unique identifier that was received upon order registration in |
|
10 | Not applicable | To debit funds from the customer's account, the merchant needs to send to the payment gateway the order completion request. |
11 | Not applicable | The payment gateway returns the result of processing the request. The order status is not returned. To get the status of the order, an order status request should be sent to the gateway: |