Инструменты страницы



Payment via Samsung Pay from a Mobile App

In case of payment with Samsung Pay, the exchange goes as follows.

One-phase payment Two-phase payment
1 The user selects Samsung Pay as payment method.
2 The application sends the payment details to Samsung.
3 Samsung sends to the application a response containing, among other things, the 3ds.data parameter with the encrypted payment data.
4

The Merchant sends to Payment Gateway a payment request:

Notably:

  • the paymentToken parameter includes content of 3ds.data received from Samsung;
  • The preAuth parameter either is not passed or has the value false.

The Merchant sends to Payment Gateway a payment request:

Notably:

  • the paymentToken parameter includes content of 3ds.data received from Samsung;
  • The preAuth parameter is passed in the request with value true.
5 The Payment Gateway decrypts the received token and carries out the payment.
6 The Payment Gateway returns to the App the result of payment; the result gets shown on the screen of mobile device.
7

The merchant requests from payment gateway the order payment status by passing a unique identifier that was received upon order registration in orderId parameter:

8 Not applicable

To debit funds from the customer's account, the merchant needs to send to the payment gateway the order completion request.

9 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: