Shopify / mobile-buy-sdk-android

Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using their credit card.
MIT License
216 stars 136 forks source link

Get credit card details after credit card vaulting #594

Closed abohomol closed 5 years ago

abohomol commented 5 years ago

In order to do the check out with a credit card, I have to vault it first and get a payment token back to store it for further checkouts. I want to show a user while doing a checkout an option to choose among last credit cards he used. How can I get back credit card details (like last 4 digits or if it's VISA or Mastercard) by this token?

abohomol commented 5 years ago

And another question: does this payment token you receive after vaulting have an expiration time?

jamiemtdwyer commented 5 years ago

This isn't supported, and we have no plans to support this at this time. You may want to consider integrating with a service like Spreedly.