braintree-web-drop-in: Base.Events: Event [payments.validated] callback resulted in an exception: TypeError: Cannot read property 'nonce' of undefined
General 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;
});
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (7 by maintainers)
@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.
^ we just figured out that error this morning. Hoping to get a release out this week.