react-native-stripe-payments icon indicating copy to clipboard operation
react-native-stripe-payments copied to clipboard

Final PR from aspect-apps

Open 0xamogh opened this issue 5 years ago • 5 comments

  • Setup Intents for iOS and Android
  • Updated methods to support payments from saved Cards

0xamogh avatar Sep 06 '20 04:09 0xamogh

@lukebrandonfarrell @ChesterSim @viktorasl

0xamogh avatar Sep 06 '20 04:09 0xamogh

Looks solid! Code reviewing it now!

viktorasl avatar Sep 07 '20 12:09 viktorasl

Hey @viktorasl, thanks for the in-depth review :) I think @amogh-jrules or @ChesterSim will be able to address some of these issues.

I believe we did run into issues with Multidex

lukebrandonfarrell avatar Sep 08 '20 15:09 lukebrandonfarrell

Apologies for the late response, the gitignore changes have been made, we were having some trouble installing it locally

0xamogh avatar Sep 23 '20 18:09 0xamogh

how can I use this branch in my project? I did yarn add https://github.com/aspect-apps/react-native-stripe-payments but when I ran the project I got an error saying: Error: There was an unexpected error -- try again in a few seconds. switching to the master branch works as expected.

I really need some of the features from this branch, I even tried manually creating the native modules and using it like:

  • added pod 'Stripe', '~> 19.0' to the Podfile
  • copied StripePayment.m and StripePayments.h into /ios and used it in my js code like
NativeModules.StripePayments.init('publishable_key')
...
NativeModules.StripePayments.confirmSetup('client_secret_from_backend', cardParams)

but got the same error 😕 . Cleaned build folder, reinstalled Pods, restarted the metro server and ran again, but same error. I must be missing something but not sure what.

rawatnaresh avatar Apr 16 '21 03:04 rawatnaresh