Add GooglePay validations

This commit is contained in:
Pedro Silva 2023-08-31 17:38:23 +01:00
parent dc9eb96d99
commit 0ac4089bec
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
6 changed files with 85 additions and 37 deletions

View file

@ -14,14 +14,7 @@ if (typeof window.PayPalCommerceGateway === 'undefined') {
window.PayPalCommerceGateway = ppcpConfig;
}
console.log('ppcpData', ppcpData);
console.log('ppcpConfig', ppcpConfig);
console.log('buttonData', buttonData);
console.log('buttonConfig', buttonConfig);
const GooglePayComponent = () => {
console.log('GooglePayComponent render');
const [bootstrapped, setBootstrapped] = useState(false);
const [paypalLoaded, setPaypalLoaded] = useState(false);
const [googlePayLoaded, setGooglePayLoaded] = useState(false);