You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Buttons are not appearing in product page, I get this error in console:
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'configuration')
at UiClass.getGooglePayConfig (button.js:258:64)
at UiClass.initialiseGooglePayComponent (button.js:173:46)
This seem to happen because button.js is trying to access gatewayMerchantId: googlePaymentMethod.configuration.gatewayMerchantId while googlePaymentMethod being null.
If I'm correct this googlePaymentMethod variable is populated in getPaymentMethod.js at line 9 by calling customerData.get('adyen-express-pdp');
but \Adyen\ExpressCheckout\CustomerData\AdyenExpress always returns an empty array.
How can this even work?
To Reproduce
Steps to reproduce the behavior:
Install and configure Adyen module
Install and configure this module
navigate to a product page
Expected behavior
Fast checkout buttons should be visible
Desktop (please complete the following information):
OS: ubuntu GNU/Linux
Browser chrome
Version 116.0.5845.96
The text was updated successfully, but these errors were encountered:
Thank you for raising this issue. Could you please verify that you've configured Google Pay payment method in your Adyen Customer Area with googlepay variant for the desired currency and countries?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
Buttons are not appearing in product page, I get this error in console:
This seem to happen because
button.js
is trying to accessgatewayMerchantId: googlePaymentMethod.configuration.gatewayMerchantId
whilegooglePaymentMethod
beingnull
.If I'm correct this
googlePaymentMethod
variable is populated ingetPaymentMethod.js
at line 9 by callingcustomerData.get('adyen-express-pdp');
but
\Adyen\ExpressCheckout\CustomerData\AdyenExpress
always returns an empty array.How can this even work?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Fast checkout buttons should be visible
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: