#sameer.kumar

1 messages · Page 1 of 1 (latest)

tame tapirBOT
lunar dune
#

Hi! well if it's a mode:subscription CheckoutSession, it already sets the payment method used as the default for that subscription automatically.

if it's a mode:payment you can call https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method when handling the webhook for example, to set the payment method as default for any future invoice/subscription payments on the customer.

crimson yoke
#

it's mode:subscription and it doesn't set the payment method as default.

#

I'm on test mode, I tried this and verified from the dashboard.

lunar dune
#

it does, it set it on the Subscription. (not at the customer-level).