GithubHelp home page GithubHelp logo

Comments (7)

crookedneighbor avatar crookedneighbor commented on June 13, 2024

Can you explain a little more how to re-create the issue? Looks to me like you're submitting the payment method nonce twice so it's getting consumed.

from braintree_express_example.

chasen-bettinger avatar chasen-bettinger commented on June 13, 2024

Can you be specific on how I should explain more? Start the server. Enter in payment information with a card you have. Receive an error message saying it's not an authorized card. Go into the Braintree dashboard and make an account. Use those credentials to make another purchase and then receive the error.

from braintree_express_example.

crookedneighbor avatar crookedneighbor commented on June 13, 2024

When you say:

Receive an error message saying it's not an authorized card. Receive an error message saying it's not an authorized card

Do you mean that your Braintree account was not setup to process a specific card type? (Visa, Mastercard, Amex, etc)?

If so, did you re-enter it, or attempt to send the nonce you had previously created? If you just stop the app, and restart it, do you still see the error?

from braintree_express_example.

chasen-bettinger avatar chasen-bettinger commented on June 13, 2024

More or less, yes. I didn't know that you were supposed to create a user in Braintree before entering in the card information.

I attempted to send the nonce I had previously created, that was the problem. If I stop the app and restart it, I do not still see the error.

My feedback is to include creating an account with a Braintree authorized card in the documentation. This error was confusing as a beginner; I wasn't sure what a nonce in the context of Braintree until reading now.

I see it in here: https://developers.braintreepayments.com/start/example-integrations

and at the bottom of this repo.

I was looking at the top of the Github repo the entire time. 😢

from braintree_express_example.

crookedneighbor avatar crookedneighbor commented on June 13, 2024

If you would like to submit a PR to clarify the instructions, feel free. I'm going to close this issue for now.

from braintree_express_example.

crookedneighbor avatar crookedneighbor commented on June 13, 2024

It shouldn't be necessary to create a customer to do any testing.

If you're having trouble, feel free to reach out to our support team: https://articles.braintreepayments.com/forms/contact

from braintree_express_example.

fawadkhaliqkhan avatar fawadkhaliqkhan commented on June 13, 2024

I was getting the same problem and finally figured it out. The culprit was my Volley network API which i was using to submit the POST request and to call TransactionRequest on server side. When there is delay in response it submitted the request again. I made the retry option to '0' and everything fixed. How? check this Android volley sending data twice

from braintree_express_example.

Related Issues (18)

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.