#filip-subscription

1 messages · Page 1 of 1 (latest)

timid orchid
#

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.

dire stag
#

Is it possible to specify default payment method only for subscription?

And also is there any guide or tutorial with best practices here?

timid orchid
#

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

dire stag
#

Cool, so method is directly connected to invoice via subscription. So there is no customer correlation? Just validating 😁

timid orchid
#

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)

dire stag
#

oh, i see i'm dumb. So payment method is connected to the customer and default_payment_method is part of subscription/invoice

timid orchid
#

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