Comments (8)
I have the same problem
from braintree-web-drop-in.
Can you provide the client token you are using?
I've set the demo app to use a client token encoded with a customer id and set the PayPal config to {flow: 'vault'}
and I have no issues vaulting a Sandbox PayPal account. Do you get the same error, or does the demo app work for you?
from braintree-web-drop-in.
Hi @crookedneighbor. Thanks for looking into this for me.
The demo app works OK for me.
Here's the client token I'm using:
eyJ2ZXJzaW9uIjoyLCJhdXRob3JpemF0aW9uRmluZ2VycHJpbnQiOiI5ZTYwYTJmZjZmODVkMWIzNDVlOWMxYTA5N2RmNzZkNTE4YzJiNGFjNTIwYzQ2OTY5ZjBkZjY1Nzg4MzcwYzdkfGNyZWF0ZWRfYXQ9MjAxNy0wNi0yN1QyMTo1NjowNy4yNTk4OTYxMzErMDAwMFx1MDAyNmN1c3RvbWVyX2lkPTQ0MTA3XHUwMDI2bWVyY2hhbnRfYWNjb3VudF9pZD1zZXJhdG8tdXNcdTAwMjZtZXJjaGFudF9pZD1jbjdrZ2dxanFkcHhnNGhtXHUwMDI2cHVibGljX2tleT00aGNnMjk3eXdmcGdrbWhtIiwiY29uZmlnVXJsIjoiaHR0cHM6Ly9hcGkuc2FuZGJveC5icmFpbnRyZWVnYXRld2F5LmNvbTo0NDMvbWVyY2hhbnRzL2NuN2tnZ3FqcWRweGc0aG0vY2xpZW50X2FwaS92MS9jb25maWd1cmF0aW9uIiwiY2hhbGxlbmdlcyI6WyJjdnYiXSwiZW52aXJvbm1lbnQiOiJzYW5kYm94IiwiY2xpZW50QXBpVXJsIjoiaHR0cHM6Ly9hcGkuc2FuZGJveC5icmFpbnRyZWVnYXRld2F5LmNvbTo0NDMvbWVyY2hhbnRzL2NuN2tnZ3FqcWRweGc0aG0vY2xpZW50X2FwaSIsImFzc2V0c1VybCI6Imh0dHBzOi8vYXNzZXRzLmJyYWludHJlZWdhdGV3YXkuY29tIiwiYXV0aFVybCI6Imh0dHBzOi8vYXV0aC52ZW5tby5zYW5kYm94LmJyYWludHJlZWdhdGV3YXkuY29tIiwiYW5hbHl0aWNzIjp7InVybCI6Imh0dHBzOi8vY2xpZW50LWFuYWx5dGljcy5zYW5kYm94LmJyYWludHJlZWdhdGV3YXkuY29tL2NuN2tnZ3FqcWRweGc0aG0ifSwidGhyZWVEU2VjdXJlRW5hYmxlZCI6ZmFsc2UsInBheXBhbEVuYWJsZWQiOnRydWUsInBheXBhbCI6eyJkaXNwbGF5TmFtZSI6IlNlcmF0byIsImNsaWVudElkIjoiQWYyaXFUNGlKTlN3bGhEczhKNVFYWVdLNXdGai1fT2FiZEJrMHdCU0FWOHB4R2FtSE03VjZiaGNYbHVkNXZrWVFtWkF1VW5vRTlwUWhPZl8iLCJwcml2YWN5VXJsIjoiaHR0cDovL2V4YW1wbGUuY29tL3BwIiwidXNlckFncmVlbWVudFVybCI6Imh0dHA6Ly9leGFtcGxlLmNvbS90b3MiLCJiYXNlVXJsIjoiaHR0cHM6Ly9hc3NldHMuYnJhaW50cmVlZ2F0ZXdheS5jb20iLCJhc3NldHNVcmwiOiJodHRwczovL2NoZWNrb3V0LnBheXBhbC5jb20iLCJkaXJlY3RCYXNlVXJsIjpudWxsLCJhbGxvd0h0dHAiOnRydWUsImVudmlyb25tZW50Tm9OZXR3b3JrIjpmYWxzZSwiZW52aXJvbm1lbnQiOiJvZmZsaW5lIiwidW52ZXR0ZWRNZXJjaGFudCI6ZmFsc2UsImJyYWludHJlZUNsaWVudElkIjoibWFzdGVyY2xpZW50MyIsImJpbGxpbmdBZ3JlZW1lbnRzRW5hYmxlZCI6dHJ1ZSwibWVyY2hhbnRBY2NvdW50SWQiOiJzZXJhdG8tdXMiLCJjdXJyZW5jeUlzb0NvZGUiOiJVU0QifSwiY29pbmJhc2VFbmFibGVkIjpmYWxzZSwibWVyY2hhbnRJZCI6ImNuN2tnZ3FqcWRweGc0aG0iLCJ2ZW5tbyI6Im9mZiIsIm1lcmNoYW50QWNjb3VudElkIjoic2VyYXRvLXVzIn0=
from braintree-web-drop-in.
Also:
I tried the Tokenization Key from the demo app in my own app and it worked OK.
I then tried generating my own Tokenization Key from the Braintree sandbox and using this is place of the Client Token. But the error returned.
So this suggests to me some kind of misconfiguration with my Braintree and/or PayPal sandbox.
from braintree-web-drop-in.
@chris-die Looks like Reference Transactions weren't set up on your Sandbox PayPal account, so when opening the vault flow, setting up the Billing Agreement failed. It has now been enabled so it should work for you.
@luq10 I'll need your merchant ID (or client token) to diagnose your issue. Please contact Braintree support for assistance and reference this Github Issue.
from braintree-web-drop-in.
@crookedneighbor Bingo. That was indeed the issue. Thanks for your help.
from braintree-web-drop-in.
@crookedneighbor
Can you please share the source code/repo link of this demo app?
from braintree-web-drop-in.
@kaloraat https://github.com/braintree/braintree-web-drop-in/blob/master/test/app/index.html
from braintree-web-drop-in.
Related Issues (20)
- hoISeoI373mTmmqZxBUwNIeIGfEB4JQH5kNWfVB6tWxeiIUkTkw0EnHdwBJWRBOy HOT 1
- [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. HOT 2
- Apple Pay svg size iPhone 15 series / macOS Sonoma HOT 1
- updated CSP configuration HOT 4
- DropUI Fails to render with ApplePay on newer iPhones HOT 3
- Apple Pay UI goes disappears in a second HOT 1
- data-collector.min.js doesn't loaded HOT 3
- Display new card input form automatically when drop-in is initialized with customerId HOT 1
- Email from Braintree re Updates to required 3D Secure data fields HOT 12
- Initial render events randomly triggered HOT 1
- AuthenticationInsight seem not supported and impossible HOT 1
- Device Data is never returned HOT 2
- threeDSecure - Always Errors HOT 1
- REACT : instance.updateConfiguration() not updating the instance when using dropinInstance as a MutableRefObject
- CardholerName prefill HOT 2
- Release with updated braintree-web? HOT 1
- Pay Later
- Duplicate iframe elements
- 400 status code is returned from analytics API
- Paypal payment opens up an extra window above the iframe HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from braintree-web-drop-in.