Building the Google Pay Integration
You can enable this by calling addGooglePay():
window.addEventListener('load', function () {
neodeos.init('sandbox', '<public key>')
.addGooglePay('iframeContainer', '<amount>', '<3-letters currency code>', '<GooglePay Provider Id (optional)>', 'options (optional)');
});
The options object supports the following optional properties:
gateway: identifier of the payment gateway being usedgooglePayGatewayMerchantId: the merchant ID associated with your gateway account for Google Pay integrationgooglePayMerchantId: your official Google Pay Merchant ID. This is required for production environments and can be obtained heregooglePayMerchantName: the display name shown to users within the Google Pay payment interface