#sabsod
1 messages · Page 1 of 1 (latest)
Good question. Do you want to charge your users in that scenario or do you want to avoid charging them?
I think you can do either with the right configuration
i can do both things?
in few words, i want use this feature in scenario when payment fail and (e.g. 1 week/month) after stripe trigger charge.succeded event (because funds are added by customer) i want update subscription period to guarantee the service for its entire duration
Gotcha, and can you tell me more about what this update is? Is there a reason you are changing the billing cycle anchor at that point?
i just want update billing date in order to give customer an entire month of subscription
i don't want make customer pay for 30 days and offer only 15 service days because he not have funds
there is someone?
Yes still here, sorry the server got pretty busy pretty quickly.
If you set the proration_behavior to always_invoice you will automatically send out an invoice to charge the user for the next month of the subscription https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#immediate-payment
sorry, i don't think this is answer for my problem.
i just want to guarantee the entire service period
if for any reason can't pay subscription at 1st day of month and i'll charge funds at 16th of month, i just want update billing date to 16th of next month
in order to give to customer an entire month of service
i hope was clear
Thank you for clarifying. I am actually not quite sure I understand the scenario still. Can you give me a quick example of the behavior that you want?
ok sure
Customer A subscribe to service S, 10€ per month
Start billing period: 1/01/2023
After few months, payment will be fail 1/06/2023
Customer add refunds at 28/06/2023
- I don't want that customer pay 10€ at 28/06/2023 and again 10€ at 01/07/2023
but i kust want to update billing date to 28th of month in order to customer use subscription for another month
in period 1/06/2023 - 28/06/2023 customer not use subscription'services, because i suspend it when at 01/06/2023 payment has fail
👋 stepping in
hope is clear now
What do you mean by "Customer add refunds"?
Does that mean they successfully paid the invoice for 1/06/2023?
What you likely want to do is to set a free trial after the successful payment until the next period that you want to bill
That way they don't get charged again at next natural billing cycle
What do you mean by "Customer add refunds"? --> wrong text, i mean add funds so can subscription can be paid
without free trial
Got it. Then yes, what you want is to listen for webhooks that would indicate that the invoice was paid out of the natural cycle. Then you add a 1 month trial so that the billing cycle is reset to the following month without charging the customer again.
and without free trial?
Then it would charge again at next natural period
So in your example they would pay on 28/06/2023 and 01/07/2023
I want to avoid this behaviour
i want that customer pay 28 and billing date change permantly to 28/MM/YYYY
That is what the trial will do
ah ok but i not understand how billing date change
i have to trigger it manually? with this 'billing_cycle_anchor '?