triniwiz / nativescript-stripe

Apache License 2.0
49 stars 34 forks source link

Google Pay support? #100

Open msn444 opened 4 years ago

msn444 commented 4 years ago

Just curious if anyone is actively working on Google Pay support. If not, what would it entail?

RobertGardner commented 4 years ago

I'm not aware of anyone currently working on it.

The documentation for the standard integration (now called "basic integration") for Android is at https://stripe.com/docs/mobile/android/basic

It looks like it would be straightforward to support Google Pay. You will probably need to update the Android Stripe SDK the plugin currently uses, but then it looks like just setting a variable in the Config and checking for it in the listener. I suggest adding a field to StripeConfig that indicates whether or not to support Google Pay, similar to how the appleMerchantID field is used to control ApplePay.

triniwiz commented 4 years ago

Related to #17 😃