• Resolved Quixtar

    (@quixtar)


    Hi,

    I got this JS error when trying to complete a test payment using Gpay:
    Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'indexOf')
    at GooglePay.<anonymous> (wc-braintree.min.js?ver=3.2.51:1837:49)

    And console.log(arr) return this:
    TypeError: this.get_3ds_amount is not a function
    at wc_braintree.CreditCard.process_3dsecure (wc-braintree.min.js?ver=3.2.51:2098:34)
    at GooglePay. (wc-braintree.min.js?ver=3.2.51:1827:76)
    11:52:55.264

    Gpay payment was working fine until the current moment. Also disabling 3D secure setting helps and payment goes fine. Maybe something has changed in the Gpay system?

Viewing 1 replies (of 1 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @quixtar,

    We are able to re-create this error when 3DS for GPay is enabled. We will work on an update and include a fix in the next release.

    Kind Regards

Viewing 1 replies (of 1 total)
  • The topic ‘JavaScript error (Google Pay method)’ is closed to new replies.