#goddas-sub-prorate

1 messages · Page 1 of 1 (latest)

arctic granite
#

My idea is to set proration_behavior to none at the customer.subscription.deleted event, will that work?
this won't work

you can manually nil out the prorated amount on the Customer

forest pewter
#

@arctic granite can you elaborate please? which property on the customer object are you referring to?

forest pewter
#

@arctic granite i think the customer balance is uneffected, because payment did not go through. I think so because i see no customer balance change in my case

arctic granite
#

so how is the Subscription prorated in that case? where is the prorated balance going? maybe I misunderstood

forest pewter
#

That is what I'm confused about too. Here are exact steps in my case:
Customer has 1 successful payment -> next month payment fails -> 3 days later subscription cancels -> 3 week later customer decides to restart, I create a new subscription object, customer is only charged for 3 days, because the 27 got prorated somehow from the previous subsription

arctic granite
#

reading ...