#mohamade
1 messages · Page 1 of 1 (latest)
Hi @restive stream can you explain to me why you want to make your subscription past_due when the trial ends?
Hi Jack, thanks. sure. actually anything other than active works for us.
the reason is that we did not ask the customer if they want to stay after the trial or we did not ask them for the setup_intent yet, we want to receive this past_due webhook from Stripe so we can mark the customer's subscription in our end and then when customer came back to our site, we ask them to decide to subscribe or leave.
i might said it bad, we simply do not want the subscription continues as active after the 30 days of trialing. we are listening to the webhooks, when we have a base monthly fee (not metered), we were receiving the past_due because the invoice was not 0$ but now with the metered price, it goes directly to the active since there is no usage accrued!
i think it is because of this:
setPaymentBehavior(SubscriptionCreateParams.PaymentBehavior.DEFAULT_INCOMPLET
Thanks for waiting. Discord is busy today
The metered usage based billing model is post-paid, meaning your customer will be billed at the end of the billing cycle, not beginning.
yes i know this, but my question is how to ask subscription to not go to active mode after trial when the price is metered?
I don't think there's a way to achieve it since there's no payment needed when trial ends.
ok, we have the subscription update webhook, in the received object, we have the previous status(trialing) and the current one(active) and the pending_setup_intent. do you know if it is possible to put the subscription in the past_due mode manually? i mean changing the status of the subscription manually to any status we want?
No possible, you can't set the subscription's status.