Comrades, I present a ready-made JavaScript module for making payments using Google Pay. The module is supposed to be used in a modern npm development environment with export-import, however, those who want pure ES5, I think, can easily remake it.
Link to module. The code contains the necessary...