#filip-subscription
1 messages · Page 1 of 1 (latest)
hi! yes if, you end the trial manually using trial_end it does an immediate payment.
There's no way to force it in the incomplete status no, that's only for newly-created subscriptions. I don't think we really have a solution here, you're expected to just let the trial expire naturally and handle the payment then, or to add a payment method to the customer before manually ending the trial.
Is it possible to specify default payment method only for subscription?
And also is there any guide or tutorial with best practices here?
well we only have a concept of a default payment method for subscriptions, nothing else, so yes
one off PaymentIntents only charge the PaymentMethod you directly tell them to charge
the default for subscriptions is set by either https://stripe.com/docs/api/subscriptions/create#create_subscription-default_payment_method or set https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method
Cool, so method is directly connected to invoice via subscription. So there is no customer correlation? Just validating 😁
what does customer correlation mean in this context?
there can be multiple defaults, you can set a payment_method on an invoice, or on a subscription, or on a customer( the latter two are linked above)
oh, i see i'm dumb. So payment method is connected to the customer and default_payment_method is part of subscription/invoice
if any of the ones on the left is set it overrides the ones on the right, so a default_payment_method on the subscription is always charged on invoices of that sub regardless of the customer-level default