#.rjcustodio

1 messages · Page 1 of 1 (latest)

grave cloakBOT
#

Hello .rjcustodio, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
.rjcustodio, 5 days ago, 14 messages

ocean ether
#

you can set the default_payment_method for either the Subscription [0] or invoice_settings.default_payment_method [1] on the customer

[0] https://stripe.com/docs/api/subscriptions/object#subscription_object-default_payment_method
[1] https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method

whole sage
#

can i also do this when creating checkout sessions?
v1/checkout/sessions?

ocean ether
#

this is for mode=subscription?

whole sage
#

yes

ocean ether
#

then you don't actually need to explicitly set anything when creating the Checkout Session. The default payment method is automatically set when a customer pays via Checkout Sessions

whole sage
#

it is not set to default

#

is there a way to set this automatically in checkout session?

ocean ether
#

can you share the subscription id?

whole sage
#

sub_1O4wqKDnngZHMkVLNSGUdQJO

#

here

ocean ether
whole sage
#

no need to add something on the request when creating check out sessions?

ocean ether