#MidnighttFoxx
1 messages · Page 1 of 1 (latest)
Hello, is this with one of our mobile SDKs or Stripe Elements on a custom webpage?
mobile sdk
iOS, Android, or ReactNative?
react native
Can you send me your current code for displaying the sheet and for creating this payment intent?
I think the setup_future_payments argument that you mention should allow this to be shown by itself. Double checking what our docs say...
Thanks for the code, I am still looking. This may only be available in our iOS SDK at the moment but I am still trying to confirm that
Will get back to you with what I can find
So I have confirmed that this exists on our iOS SDK but does not exist on the React Native SDK as far as I can see. https://stripe.dev/stripe-ios/docs/Classes/PaymentSheet/Configuration.html#/s:6Stripe12PaymentSheetC13ConfigurationV04saveB19MethodOptInBehaviorAC04SavebfghI0Ovp
Will see if there is a feature request that we can add to
sounds great. Thank you for your help
the only thing that confuses me is that on the stripe docs it shows this at the top of the page indicating that it should be a feature for react native
Yes, I am unsure if this is/was planned for all of the mobile SDKs or if that might just be a mistake on which picture was included. I will make sure to bump the feature request on this when I find it. If you want to do this in the mean time I think you will have to add your own checkbox on the page that launches the sheet. I forget if that would have to toggle setup_future_payments on the server side or if that can be done client side. I can look in to that if you are interested
that would be great if you could check on that
on another note is it possible to push credit card details stored somewhere else into the presentPaymentSheet method because I have created functionality before integrating stripe for store card details in firebase
Can you clarify that second ask? Basically have Stripe display the user's saved payment methods within the sheet rather than you needing to impliment that yourself?
yea so basically we have a separate place where the users can store their credit cards and what i'm asking is if its possible to populate the payment sheet with said stored information
Sounds good, will definitely make/add to the feature request for that
@rain kettle apologies for the second delay. You can implement something like this yourself with our "Complete the payment in your own UI" flow. Basically after the payment the user can go back to your UI, you could present them with a final button to confirm the payment along with the checkbox to save there https://stripe.com/docs/payments/save-during-payment?platform=react-native&ui=payment-sheet#react-native-flowcontroller