Base.Events: Event [payments.validated] callback resulted in an exception: TypeError: Cannot read property 'nonce' of undefined
See original GitHub issueGeneral information
dropin 1.19.0 Production Chrome Version 75.0.3770.142 (Official Build) (64-bit)
Issue description
Random errors in console log during using of credit card and paying
https://includes.ccdc02.com/cardinalcruise/v1/ec76e625fd00ce8210aa/1.ec76e625fd00ce8210aa.songbird.js Base.Events: Event [payments.setupComplete] callback resulted in an exception: TypeError: i._getDfReferenceIdResolveFunction is not a function
and https://includes.ccdc02.com/cardinalcruise/v1/ec76e625fd00ce8210aa/1.ec76e625fd00ce8210aa.songbird.js Base.Events: Event [payments.validated] callback resulted in an exception: TypeError: Cannot read property ‘nonce’ of undefined
Using 3DS
// Initialization
braintree.dropin.create({
authorization: self.braintreeToken,
container: '#braintree-payment-form',
paypal: {
flow: 'vault',
buttonStyle: {
color: 'blue',
shape: 'rect',
size: 'medium'
}
},
threeDSecure: {
amount: self.price()
}
}, function (createErr, instance) {
if (createErr) {
failedToInitialize();
}
self.braintreeInstance = instance;
});
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
TypeError: Cannot read property 'events' of undefined
1 Answer 1 · 1. wow that worked. · 1. yeah share your code, where are you dispatching deleteAction ? · 1. check...
Read more >Dropin - Documentation - Braintree Open Source
If a payment method is not available, an error will appear in the UI. When a callback is used, an error will be...
Read more >HTML Standard
... 14 The XML syntax; 15 Rendering; 16 Obsolete features; 17 IANA considerations; Index; References; Acknowledgments; Intellectual property rights ...
Read more >Safari Technology Preview Release Notes - Apple Developer
Updates to Safari Technology Preview are no longer available for macOS Big Sur. If you already have Safari Technology Preview installed, you can...
Read more >Using OAuth 2.0 for Web Server Applications | YouTube Data ...
Set the value to offline if your application needs to refresh access tokens when the user is not present at the browser. This...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hgshoggins That’s because the underlying sdk needed to be updated in Drop-in, which we’ve just done in v1.20.0. Issue should be fixed now.
This is fixed in the underlying SDK. The next release of Drop-in will include the fix. Will update here when it’s out.