Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Uncaught TypeError: Cannot read property '_solidusClient' of undefined #242

Open
giovantenne opened this issue Nov 15, 2019 · 5 comments
Open

Comments

@giovantenne
Copy link

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)

@vokshirg
Copy link

the same issue

@seand7565
Copy link
Contributor

@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!

@vokshirg
Copy link

@seand7565 I will not replicate this issue too for now )) I suppose you can close it, thanks!)

@igorbp
Copy link

igorbp commented Oct 23, 2020

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.

@stale
Copy link

stale bot commented Nov 11, 2022

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.

@stale stale bot added the wontfix label Nov 11, 2022
@gsmendoza gsmendoza removed the wontfix label Nov 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants