Page History
...
Code Block | ||
---|---|---|
| ||
function getGooglePaymentsClient() { if ( paymentsClient === null ) { paymentsClient = new google.payments.api.PaymentsClient({environment: 'TEST'}); } Return paymentsClient; } |
Next, you need to specify the type of authentication cards that will be accepted for payment in the online store. For this, the allowedCardAuthMethods parameter is used, which can take the following values: