#junaid_abbasi999

1 messages ยท Page 1 of 1 (latest)

blazing kestrelBOT
scarlet merlin
#

Hi ๐Ÿ‘‹ you will need to tell us which Payment Method to charge when creating or confirming the Payment Intent, via the payment_method parameter.

Unless this is regarding the recurring off-session payments that occur for Subscriptions, in those cases we charge the payment method specified in invoice_settings.default_payment_method:
https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method

hybrid tartan
#

I am not doing Subscriptions. what if customer had deleted the card before charging user off-session.

#

then we can't fetch payment_methods.

scarlet merlin
#

If there are no saved payment methods that can be used, then you'll need to collect details to create a new one.

hybrid tartan
#

and one last thing I am using stripe/react-native SDK. when i present a paymentSheet to get info about user's card the paymentSheet present itself from the bottom of the screen. Can I do this behaviour as a part of my component where it is already there as part of my component and don't have to pop up from bottom of the screen.

lethal holly
#

Hi ๐Ÿ‘‹

The PaymentSheet is designed as a bottom sheet modal that will overlay other components.