Google Pay
Introducing Web Component Google Pay
To simplify Google Pay on the web, Jupico provides a reusable, framework-agnostic <google-pay-jupico> component. You embed one script and drop a single tag to render the native Google Pay button, handle merchant validation, present the sheet, and return a short-lived token (or payment payload) on success.
Include the Web Component
Use the <google-pay-jupico> tag and pass the required properties.
🔹 Required Properties
sessions: authorization sessions object from your backend (don’t modify it).transaction-complete: callback invoked when the google Pay sheet finishes (success/cancel/error).amount: Total amount displayed and charged for the transaction, expressed in the smallest currency unit (for example, 23 = 23.00 in your configured currency).
Updated about 1 month ago
