ezet / stripe-sdk

A simple and flexible Stripe library for Flutter with complete support for SCA and PSD2.
https://pub.dev/packages/stripe_sdk
Other
137 stars 137 forks source link

mobile / web integration to call OS to get users credit cards installs at OS level #109

Closed joe-getcouragenow closed 2 years ago

joe-getcouragenow commented 3 years ago

I suspect i am asking is question the wrong way, but ...

On web browsers, there are specific calls to ask the OS for the users credit card that the OS saves i presume in the TPM / Cert store, etc. Same goes for Mobile in many ways.

Since this is pure Dart, then i presume getting the users local cards is not possible ?


Braintree ( which paypal owns) seems to do it.... ?

https://pub.dev/packages/flutter_braintree

ezet commented 3 years ago

This functionality is out of scope for this library, but it might be possible to use other libraries to retrieve the required data, and then use that data with stripe sdk. I have not worked with these APIs so I don't know them well enough.

ezet commented 2 years ago

Not in scope of this library. You can use whichever approach you want to get card details, and then tokenize it with the tokenization methods this library offers, and proceed to use it with Stripe however you want.