GithubHelp home page GithubHelp logo

Comments (8)

luq10 avatar luq10 commented on September 28, 2024

I have the same problem

from braintree-web-drop-in.

crookedneighbor avatar crookedneighbor commented on September 28, 2024

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.

chris-die avatar chris-die commented on September 28, 2024

Hi @crookedneighbor. Thanks for looking into this for me.

The demo app works OK for me.

Here's the client token I'm using:

eyJ2ZXJzaW9uIjoyLCJhdXRob3JpemF0aW9uRmluZ2VycHJpbnQiOiI5ZTYwYTJmZjZmODVkMWIzNDVlOWMxYTA5N2RmNzZkNTE4YzJiNGFjNTIwYzQ2OTY5ZjBkZjY1Nzg4MzcwYzdkfGNyZWF0ZWRfYXQ9MjAxNy0wNi0yN1QyMTo1NjowNy4yNTk4OTYxMzErMDAwMFx1MDAyNmN1c3RvbWVyX2lkPTQ0MTA3XHUwMDI2bWVyY2hhbnRfYWNjb3VudF9pZD1zZXJhdG8tdXNcdTAwMjZtZXJjaGFudF9pZD1jbjdrZ2dxanFkcHhnNGhtXHUwMDI2cHVibGljX2tleT00aGNnMjk3eXdmcGdrbWhtIiwiY29uZmlnVXJsIjoiaHR0cHM6Ly9hcGkuc2FuZGJveC5icmFpbnRyZWVnYXRld2F5LmNvbTo0NDMvbWVyY2hhbnRzL2NuN2tnZ3FqcWRweGc0aG0vY2xpZW50X2FwaS92MS9jb25maWd1cmF0aW9uIiwiY2hhbGxlbmdlcyI6WyJjdnYiXSwiZW52aXJvbm1lbnQiOiJzYW5kYm94IiwiY2xpZW50QXBpVXJsIjoiaHR0cHM6Ly9hcGkuc2FuZGJveC5icmFpbnRyZWVnYXRld2F5LmNvbTo0NDMvbWVyY2hhbnRzL2NuN2tnZ3FqcWRweGc0aG0vY2xpZW50X2FwaSIsImFzc2V0c1VybCI6Imh0dHBzOi8vYXNzZXRzLmJyYWludHJlZWdhdGV3YX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Im9mZiIsIm1lcmNoYW50QWNjb3VudElkIjoic2VyYXRvLXVzIn0=

from braintree-web-drop-in.

chris-die avatar chris-die commented on September 28, 2024

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.

crookedneighbor avatar crookedneighbor commented on September 28, 2024

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

chris-die avatar chris-die commented on September 28, 2024

@crookedneighbor Bingo. That was indeed the issue. Thanks for your help.

from braintree-web-drop-in.

kaloraat avatar kaloraat commented on September 28, 2024

@crookedneighbor
Can you please share the source code/repo link of this demo app?

Screen Shot 2019-03-31 at 10 31 41 AM

from braintree-web-drop-in.

crookedneighbor avatar crookedneighbor commented on September 28, 2024

@kaloraat https://github.com/braintree/braintree-web-drop-in/blob/master/test/app/index.html

from braintree-web-drop-in.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.