I am using Braintree SDK
in my android app for payments
and its working fine, But here is one problem it asks every time credit/debit card details. So my question is, is there any way to store credit/debit card detail for next time payments without asking again credit card detail for the same user.
On Android, tap Menu > Settings > Autofill and Payments > Cards to manage your saved credit cards. Now, when you're checking out online, you just have to click a credit card field, and you'll be prompted to fill in the information.
Open the Google Wallet app . At the top, from the right edge of the screen, swipe left to scroll through your payment methods until you get to the last one. Tap Edit card order .
An Integrated Payments Solution Braintree is a merchant account provider based in Chicago, Illinois. Founded in 2007, Braintree markets its services primarily to e-commerce merchants, subscription-based businesses, and merchants that key in all of their credit card transactions.
Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support.
You can store credit cards and other payment methods in the Braintree Payment Method Vault associated with your Braintree account. Payment methods are associated directly to customer records, and customers may have more than one payment method associated with them.
To present a customer with their payment methods during checkout, you have two options. If you're using a custom integration, you can check the customer object for associated payment methods then look up the details for each payment method in turn. If you're using the Drop-in, you have a simpler option.
The Drop-in form automatically fetches a customer's payment methods when it is presented with a customer ID. To present it with a customer ID, first generate a client token using a customer ID, then use that client token to initialize the Drop-in.
ClientTokenRequest clientTokenRequest = new ClientTokenRequest()
.customerId(aCustomerId);
String clientToken = gateway.clientToken().generate(clientTokenRequest);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With