#Pavan-subs

1 messages · Page 1 of 1 (latest)

surreal cloud
#

hello @scenic dune! that won't be possible. SetupIntents are as it's name implies, to setup a card . PaymentIntents are for payments.

If you already have a card attached to a Customer as invoice_settings.default_payment_method [0]

and you're using automatic charging [1]. Then you won't need to handle the PaymentIntent client_secret separately since Stripe will automatically charge the default payment method on the Customer

[0] https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
[1] https://stripe.com/docs/invoicing/automatic-charging

#

does that make sense?