iamvivekkaushik / AwesomeCard

A Flutter package to easily create a Credit Card in your application.
MIT License
151 stars 86 forks source link

Manually add card brand #3

Closed assad62 closed 4 years ago

assad62 commented 4 years ago

Hi,

First of all thank you for the widget. In my use case I am using stripe to store the card info, so on the front end stripe will only return the last 4 digits of the card, so by that method I cannot get card brand to show in this widget.

However stripe, returns the card brand (i.e. Visa, Master Card etc). So would be great if you can add a field in your card initialiser that allows us to manually add a card brand.

Thanks!

iamvivekkaushik commented 4 years ago

Sure thing, I will add this today. Thanks for using the lib.

vinnytwice commented 2 years ago

@assad62 hi sorry for the OT, what package are you using to implement Stripe?

assad62 commented 2 years ago

Hi @vinnytwice , when i made this post i was using : https://pub.dev/packages/stripe_payment

But looks it's discontinued now, but perhaps this might help: https://pub.dev/packages/flutter_stripe