#berke-trial
1 messages · Page 1 of 1 (latest)
hi 😄
what does "freezing" their account mean to you?
But yes, the way it works is you create the subscription with a trial period. You don't need a payment method. At the end of the trial we create an invoice for $x amount, for the next billing period. Payment of that invoice will fail if they haven't added a payment method by then. Depending on the settings you configure, the non-payment of that invoice can lead to the subscription being cancelled and you can react to that in your backend systems/databases using webhooks.
Freezing account means to me that users can be login to their account but cannot use the functions of our product. They will see an error pop-up to inform them that they have to upgrade their plans.
then that's something you can handle in your own integration based on webhooks tracking the status of the subscription on the Stripe side
Thank you so much I will inform to our developers about that
on the Stripe side the subscription starts as status:trialing , then after that invoice I mentioned happens, either it moves to status:active if that payment succeeds, or status:past_due or cancelled (depends on the settings you configure on https://dashboard.stripe.com/settings/billing/automatic ) when it fails
We will not ask for a payment method, so it will be automatically failed then we will handle it on our own integration based on webhooks
If we face any problem, Can we contact with you on discord?
Thank you again have a nice day