#junaid_abbasi999
1 messages · Page 1 of 1 (latest)
Hi there, you can use PaymentSheet to present existing payment methods if you provide a customerId and an ephemeral key secret when initialising the PaymentSheet
Hey I am using a button and onClick I am using presentPaymentSheet which scroll up from bottom and present a payment sheet. Can I just present it Without clicking a button and it should be shown at the component and not scrolled from bottom.
https://stripe.dev/stripe-react-native/api-reference/index.html#presentPaymentSheet You just need to call presentPaymentSheet to open the paymnetSheet. I don't see any option to change the default sliding animation.
Documentation for @stripe/stripe-react-native
Hey brother One last thing I am setting up the customers account for future payment from one app and then I am creating the payment intent in my other app. I am thinking about saving cuatomerId and paymentMethodId to my firebase database and then retrieving it on the other app to use for creating a paymentIntent. I want to ask is it ok to store payment_id and customer_id to database and using it to create a payment intent?
Yes you can save the payement_intent_id and customer_id in your own DB, they are not sensitive information and only yon can assess the complete object with your API key