braintree / android-card-form

A ready-made card form layout that can be included in your Android app, making it easy to accept credit and debit cards.
MIT License
366 stars 130 forks source link

Retrieving the saved card #85

Closed androuino closed 4 years ago

androuino commented 4 years ago

Hi,

I would like to ask if how to retrieve the saved card information if the checkbox for saving the card is checked? Seems like it hasn't been explained from the READMe file. Thanks.

sestevens commented 4 years ago

Hi @androuino, you can use the getPaymentMethodNonces method defined in the PaymentMethod class to retrieve a customer's saved cards. You'll need to use a client token with a customer id when initializing the BraintreeFragment.

androuino commented 4 years ago

I see, thanks a lot @sestevens. Closing this now.