#akshayn-checkout-defaultpm

1 messages · Page 1 of 1 (latest)

worn quailBOT
#

Hello! 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.

gray jetty
#

akshayn-checkout-defaultpm

#

@barren flicker sadly no, we don't support this. So you have to write code after the Checkout Session completes to make that specific PaymentMethod the default for future Invoices or Subcriptions for example

barren flicker
#

Okay so, some thing like this
Stripe::Customer.update(
'cus_V9T7vofUbZMqpv',
{invoice_settings: {default_payment_method: 'pm_1Msy7wLkdIwHu7ixsxmFvcz7'}},
)

#

Thanks so much.

gray jetty
#

yes