Uncaught TypeError: Cannot read property '_solidusClient' of undefined
Upgrading to the current version from here to enable the "3D Secure 2" feature I receive this JavaScript error after submitting a new credit card on /checkout/payment, before being redirected to /checkout/confirm.
VM1175 checkout.self-ffd724ca9bee44078d30ed62ba2966dff1779121f50f76aef64aaadb49a922ba.js:46 Uncaught TypeError: Cannot read property '_solidusClient' of undefined
at HTMLFormElement.<anonymous> (VM1175 checkout.self-ffd724ca9bee44078d30ed62ba2966dff1779121f50f76aef64aaadb49a922ba.js:46)
at HTMLFormElement.dispatch (VM1189 jquery.min.js:2)
at HTMLFormElement.y.handle (VM1189 jquery.min.js:2)
Confirming the order show the following Braintree error message:
Customer does not have any credit cards. (91511)
the same issue
@zener79 @vokshirg I wasn't able to replicate this issue, can you provide more details about your setup, and/or verify that this is still an issue? Thanks!
@seand7565 I will not replicate this issue too for now )) I suppose you can close it, thanks!)
Hey
I was working on an issue that raised the same error in the past few days. Turned out that the checkout form was being submitted twice due to a change from form_for to form_with which is remote by default. Adding local: true to the form fixed the issue.
Not sure if this is the case, but it's worth documenting it regardless.
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.