#leanfucio

1 messages · Page 1 of 1 (latest)

heavy belfryBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

terse hemlock
#

Hello

#

proration_behavior is a per-request parameter

#

It just means that if you make another update request in the future, you need to set proration_behavior again, otherwise it will go back to the default regardless of what you set in the past

woeful flint
#

What is the default?

#

I mean default value

terse hemlock
#

create_prorations is the default as it states there

woeful flint
#

By "per request", does this mean, when the subscription is renewed, it go automatically go back to "create_prorations"?

terse hemlock
#

There is no proration on a renewal

#

Only an update

#

But yes, it means that any time in the future if you did something to trigger proration to occur, it will use create_prorations, unless you specify otherwise.

#

Basically, if you ever want proration to not occur, you need to specify proration_behavior: none in the API request that is triggering proration

woeful flint
#

I'm sorry if I don't 100% understand it all. Please be patient with me.

terse hemlock
#

That's fine, feel free to ask clarifying questions

#

Also, testing this stuff out is really the best way to understand how it works

woeful flint
#

So for example, the product price is $100. then I changed it to $50 with proration_behavior: none, it won't prorate, right. that I understand. But what will happen when the subscription is automatically renewed (since it is occuring payment)? Which price will be used? $100 or $50?

#

Oh you have sandbox? nice

terse hemlock
#

It would be charged at $50 going forward since you updated it to a $50 Price

#

And yes, you should really test this all out in test mode

woeful flint
#

Last question, changing the price from $100 to $50 should be in 1 request right? can't change price in first request then change proration_behavior in the 2nd request

terse hemlock
#

Correct you would do that all in one request

woeful flint
#

Yes thanks! I'm sorry I have a completely different question about coupon.

#

The previous person that talked to me said the coupon is only only applicable to a customer and subscription. I understand the subscription. but I don't understand is for customer? What does that mean? You can attach a coupon to a customer and then all his subscriptions got discount?

terse hemlock
#

Yep that's correct

#

You can apply a coupon to a Customer directly and it will then be applied across their Subs

woeful flint
#

Oh, that's nice!

#

Thanks, it's been a very good help for a newbie me. I'll definately try that test clocks.

#

You may close this thread. Thanks!