Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create transaction using Braintree pluging. #8

Open
atapatel opened this issue Jan 19, 2024 · 0 comments
Open

Unable to create transaction using Braintree pluging. #8

atapatel opened this issue Jan 19, 2024 · 0 comments

Comments

@atapatel
Copy link

Hello there for sandbox envirnment everything is working perfectly fine but when it comes to production environment it gives below error in browser console log.

Uncaught TypeError: Cannot read properties of undefined (reading 'toJSON')
    at i.getViewModel (braintree-dropin-internal.min.js:43:34051)
    at i.render (braintree-dropin-internal.min.js:43:34273)
    at i.setCurrentView (braintree-dropin-internal.min.js:43:52784)
    at i.showPaymentMethod (braintree-dropin-internal.min.js:43:29343)
    at i.execute (braintree-dropin-internal.min.js:1:16684)
    at Object.callback (braintree-dropin-internal.min.js:1:16537)
    at braintree-dropin-internal.min.js:1:19856
    at ke (braintree-dropin-internal.min.js:16:29896)
    at Function.vr (braintree-dropin-internal.min.js:16:49492)
    at e.History.loadUrl (braintree-dropin-internal.min.js:1:19797)
getViewModel @ braintree-dropin-internal.min.js:43
render @ braintree-dropin-internal.min.js:43
setCurrentView @ braintree-dropin-internal.min.js:43
showPaymentMethod @ braintree-dropin-internal.min.js:43
execute @ braintree-dropin-internal.min.js:1
(anonymous) @ braintree-dropin-internal.min.js:1
(anonymous) @ braintree-dropin-internal.min.js:1
ke @ braintree-dropin-internal.min.js:16
vr @ braintree-dropin-internal.min.js:16
loadUrl @ braintree-dropin-internal.min.js:1
navigate @ braintree-dropin-internal.min.js:43
c.receiveNewPaymentMethod @ braintree-dropin-internal.min.js:43
i @ braintree-dropin-internal.min.js:16
r._handleRequest @ braintree-dropin-internal.min.js:1
(anonymous) @ braintree-dropin-internal.min.js:1
r.receive @ braintree-dropin-internal.min.js:1
(anonymous) @ braintree-dropin-internal.min.js:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant