Closed lukebrandonfarrell closed 4 years ago
Hey guys, Amogh here. Worked with @lukebrandonfarrell on the native Android aspect of our version of this library, would be cool if we could continue developing it and be able to launch it as a production-level alternative to tipsi-stripe 😄
Looks great! Generally I'm iOS developer so if you have less resources regarding iOS development I can help.
As production ready as tipsi is will be hard to implement as there are quite a lot of edge cases and extra functionalities build around Stripe (i.e fraudulent activity middleware) 😄
But I believe this library can find it's niche in the market 👍
@viktorasl Sounds good. We have the iOS implementation already done in Swift, so just need to make the conversion. I'll attach you in to review the PR for iOS side.
As for a note to myself, we need to support Diners Club cards which our native implementation has trouble with at the moment.
Finished the implementation over at: https://github.com/aspect-apps/react-native-stripe-payments (@viktorasl) will make a PR in next week.
Details
Opening this issue so we can coordinate development in this library in order to build all the missing features for full SCA using Stripe. The goal is to add all the missing pieces to the library for the 1st of September.
@viktorasl let me know what you think of the following API:
Tasks
cardParams
optional and add a parameter called paymentMethodId, depending on which parameter is present, we can create theSTPPaymentIntentParams
. This will allow us toconfirmPayment
with card details or an existing card.The same above is true for Android:
[x] Setup Intents on Android
[x] Payment Intents Support ID on Android Change this function here to support optionally either
cardParams
orpaymentMethodId
.[x] TypeScript API
If I have missed any important features, please let me know in the comments.