question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Base.Events: Event [payments.validated] callback resulted in an exception: TypeError: Cannot read property 'nonce' of undefined

See original GitHub issue

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;
            });

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
crookedneighborcommented, Aug 15, 2019

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

1reaction
crookedneighborcommented, Aug 14, 2019

This is fixed in the underlying SDK. The next release of Drop-in will include the fix. Will update here when it’s out.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found