Hi @robifar
Here is the error message that’s causing the “An unexpected developer error has occurred” message:
Popup blocker detected, you must handle the clickEvent synchronously!
It looks like Firefox doesn’t like that an ajax request is occuring during the GPay button click. This error is not present on other browsers. We’ll have to do some more research on why Firefox is behaving that way as it seems to be a recent development.
We’ll also have to see if we can replicate on our development site or if it’s an issue specific to your site.
Kind Regards,
Hi,
thank you very much. Do you know how can I handle the clickEvent synchronously?
Please note that the problem doesn’t occur selecting Google Pay as payment method in the Checkout page.
Kind regards,
Roberta
Please note that the problem doesn’t occur selecting Google Pay as payment method in the Checkout page.
That’s because the plugin has all the information it needs to render the GPay wallet, since the cart calculations have been performed. The product page is different, since the cart object is empty and the item must be added to the cart when the GPay button is clicked.
Kind Regards,
Hi @robifar
We are actively working on a resolution so that GPay will not trigger that error using Firefox. This will be fixed in the next release.
Kind Regards,
Great, thank you so much!
Roberta