Comments (7)
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.
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.
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.
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.
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.
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.
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)
- Scrolling on iOS is sticky HOT 1
- JS v3 SDK Example HOT 2
- Amount HOT 4
- add customers.create and subscription example HOT 1
- Total meltdown HOT 1
- Demo.js HOT 4
- Integrating Braintree HOT 1
- deploy the same app to heroku, even the real credit card is consider as not valid and says `Please check your information and try again.` HOT 1
- Unable to checkout in sandbox HOT 4
- npm start error out and stopped HOT 2
- clientToken issue HOT 1
- TypeError: Cannot read property 'charAt' of undefined HOT 1
- Debit card issues HOT 1
- Deploy to heroku error HOT 2
- error in connect
- https://github.com/braintree/braintree_express_example.git
- is it SCA compliant? HOT 2
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_express_example.