Using Google Pay's JavaScript library pay.js:
pay.js
Invoking the Payment Request API directly:
Related: Tez testing.
See also: "Bunpay" demo site.