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



Payment using Google Pay (mobile app)


When submitting a request to Google Pay, use the following parameters:

  • gateway: sberbank;
  • gatewayMerchantId: <name of your organization in the payment gateway system> .

In case of payment with Google Pay from mobile app, the exchange goes as follows.

One-phase payment Two-phase payment
1 The user selects Google Pay as payment method.
2 The App requests from Google Pay the masked card data.
3 Google Pay returns masked payment card data to the App.
4 The application displays the masked card data added to Google Pay to the customer.
5 The user confirms payment.
6 The App requests from Google Pay the encrypted card data.
7 Google encrypts the data using a public key – the corresponding private key is located in the payment gateway.
8 Google Pay returns encrypted payment data to the App.
9

The application sends a payment request to the payment gateway, specifying the token received from Google Pay:

Notably, the preAuth parameter either is not passed or has the value false.

The application sends a payment request to the payment gateway, specifying the token received from Google Pay:

Notably, the preAuth parameter is passed in the request with value true.

10 The Payment Gateway decrypts the received token and carries out the payment.
11 The Payment Gateway returns the payment result to the App.
12 The App displays the purchase result to the Payer.
13

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

14 Not applicable

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

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