#lucascheles - payment after trial
1 messages · Page 1 of 1 (latest)
Yes this is expected
What would you like to happen instead?
You could eg have the subscription cancel at the end of the trial, or use collection_method=send_invoice to email the invoice instead of automatically paying
so it depends what you're trying to do
1 - how can I change the settings to automatically cancel the subscription at the end of the trial?
2 - how can I use collection_method=send_invoice? Should I inform that in some Stripe dashboard or should it be informed while creating the checkout session that the user will use to subscribe?
1/ you can set it to cancel at period end: https://stripe.com/docs/api/subscriptions/update#update_subscription-cancel_at_period_end
(the end of a trial is a period end)
2/ This is part of the subscription creation, though you can also update it
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
As I said, the recommendation depends on your goal.
lucascheles - payment after trial
My goal is to keep the default behavior (automatically charge after trial period ends). I just want to be sure that the default behavior won't be deactivated by mistake.
Ah, ok then you don't need to change anything, but thats how you could if you wanted to