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



Interaction with Sbersafe service

The service is a solution for storing and using customer 's saved cards. If the customer saves the card data when making a payment , then in all other online stores he makes payments using the already saved cards. The card data is stored at the user level and linked to the customer's cell phone number and e-mail address, the data is stored on the payment gateway side. The solution works in all online stores connected to the service. To connect to the service you can use a special payment page or use the protocol described in Description of the protocol for interaction with the serviceparagraph. When working with the payment page that supports this service, there are the following options for using the functionality.

  • If there is information about the customer's mobile phone number and/or e-mail address, it is possible to pass its value in additional parameters so that the user does not enter this value again on the payment page. For this it is necessary to fill in the jsonParams parameter by the values email and phone in the register.do method. In this case the parameters will already be already prefilled on the payment page.
  • If you need to display a button to return to the store on the payment page, you can pass the value of the corresponding link in additional parameters. For the button to be displayed, it is necessary to pass in register.do the jsonParams block with fields backToShopUrl and backToShopName, where backToShopUrl is the URL where the Customer should be returned; backToShopName is the name of the link to be shown on the page.

Below there is an example of the request to register an order via register.do.

"jsonParams": {   
    "email":"email@mail.ru",
    "phone":"9111111111"
    "backToShopUrl":"http://some-merchant.html",
    "backToShopName":"Name of the link"
 }

You can use the service outside the payment page if there is a need to consume already saved user cards. This allows to save a binding of the card data that the user has already saved previously. To do this, the user has no need to enter the card details again, just logging in to the profile with the saved cards is enough. To do this it is necessary to use the protocol described in Description of the protocol for interaction with the service paragraph.

Currently the service does not provide the ability to make transfers from one physical card to another.