Page History
...
Deployment of the widget on the online store page
To deploy a widget on an online store page, do the following:
- place the widget on the payment page of the online store;
- customize the widget;
- check the possibility of payment using the widget:
- transfer the order parameters;
- receive and process the payment result.
...
Using the Google Pay widget allows customer to pay with regular cards stored to his Google account, as well as tokenized Google Pay cards. On devices without the installed Google Pay application, the customer will be asked to select a stored card from Google.
...
The script uses the Google Pay API, which is used:
- on all mobile devices, regardless of operating system;
- in browsers Google Chrome, Mozilla Firefox, Apple Safari, Microsoft Edge, Opera or UCWeb UC Browser.
Warning |
---|
Google Pay does not have the ability to store a special test card, so when testing it will display a real card. However, in the test environment of Google this card will be replaced by a test one and test card data will be returned to the script. In this way you can use a stored real card without debiting from it. |
...