#junaid_abbasi999

1 messages · Page 1 of 1 (latest)

strange willowBOT
minor ridge
#

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

dire oracle
#

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.

minor ridge
dire oracle
#

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?

minor ridge
#

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