Support » Plugin: Payment Plugins for Stripe WooCommerce » Urgent: Cannot read properties of undefined (reading ‘pay’)

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter SebastiaanVaz

    (@sebastiaanvaz)

    After deactivating each payment option, it is Google Pay that’s causing the issue.

    I see same problem in my sites. Problem comes from Google pay. I turn off this payment method and error stop shosing

    • This reply was modified 5 months, 2 weeks ago by ivanivanov18.
    Plugin Author Payment Plugins

    (@mrclayton)

    This isn’t a bug caused by our plugin. It appears Google Pay introduced a bug in their GPay JS SDK.

    We’ve reported it to them but at this time there isn’t anything we can do to resolve that error since it’s coming from their JS SDK.

    Kind regards

    Plugin Author Payment Plugins

    (@mrclayton)

    Update: it appears the issue is related to the button style that’s interpreted in the pay.js script. If the option is changed to the “buy” button style, the issue is resolved.

    We’ve alerted the GPay team to this issue.

    Kind Regards,

    Plugin Author Payment Plugins

    (@mrclayton)

    Update: Adding screenshots for recording keeping showing the GPay button hosted on developers.google.com is not working.

    https://imgur.com/a/xvLGy1I

    Any buttonStyle option other than “buy” triggers a Javascript error.

    Plugin Author Payment Plugins

    (@mrclayton)

    Google has resolved the issue.

    @sebastiaanvaz I reviewed your staging site and it’s working as expected now.

    Thread Starter SebastiaanVaz

    (@sebastiaanvaz)

    Hey thanks for the quick help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.