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



Payment with Google Pay on the web page (payment page on the merchant side)


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

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

If, in case of payment with Google Pay, the payment page is located on the merchant's side, the interaction scheme looks as follows.

One-phase payment Two-phase payment
1 The customer creates an order on the website of the online store and selects Google Pay payment method.
2 The online store system generates a payment request to Google Pay payment.
3 The Google Pay system generates the encrypted payment data.
4 The online store system receives the encrypted payment data.
5

The online store system generates a request to the payment gateway for Google Pay payment, indicating the received encrypted payment data:

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

The online store system generates a request to the payment gateway for Google Pay payment, indicating the received encrypted payment data:

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

6 The payment gateway decrypts the received data and makes the payment.
7 The payment gateway returns the payment result to the online store system.
8 The payment result is displayed to the customer.
9

The Merchant requests from the Payment Gateway the status of order payment:

10 Not applicable

To debit funds from the Customer's account, the Merchant needs to send to the Payment Gateway an 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: