JavaScript error (Google Pay method)
-
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.264Gpay 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?
The topic ‘JavaScript error (Google Pay method)’ is closed to new replies.