#t0dd_unexpected

1 messages ¡ Page 1 of 1 (latest)

coral cragBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1252520868547006536

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

idle surge
ripe abyss
#

Hi there, what do you mean by "make the next quantity increase cost more than the regular price" ? can you walk me through an example?

idle surge
#

Sure

#

Say I create a tiered subscription with a quantity of 1

#

I later update the subscription with a quantity of 2 and apply a coupon with $12.50 off in the subscription update

#

With the current proration behaviour, I just made one payment for $50 (initial) and one for $37.50 (increase quantity with a coupon)

#

If I then increase quantity once again to 3, it costs $62.50 instead of $37.50

#

I assume this is some weird proration behaviour because the coupon has an option to only apply once

#

One-time coupon

ripe abyss
#

You said you are using tiered pricing, is it volume based or graduated?

idle surge
#

Volume based

ripe abyss
#

Ok, can you share with me the price ID?

idle surge
#

price_1P2rrwLVMiFmGBXgZsxqmJX6

#

This is on test mode btw

ripe abyss
#

OK, I see that the unit price is $50 in all tiers

#

"If I then increase quantity once again to 3, it costs $62.50 instead of $37.50" -> Can you send me the ID of the invoice?

idle surge
#

Sorry, it costs $62.50 instead of $50

#

The discount is only applied to the 2nd invoice which is $37.50 instead of $50 (expected)

#

Sending invoice rn

#

in_1PSwRCLVMiFmGBXgpLP9WBlH

#

This is the issue I guess, inputting $12.50 discount into the unused time

ripe abyss
#

The unused time is the the prorated amount that the customer already paid in the previous invoice, but I don't see an discount was applied in that previous invoice in_1PSwQyLVMiFmGBXgINWSJAfG

#

What made you think that the discount was applied in in_1PSwRCLVMiFmGBXgpLP9WBlH ?

idle surge
#

I don't want to apply the discount in in_1PSwRCLVMiFmGBXgpLP9WBlH, it should only be applied for the first invoice

#

What I find weird is that that discount gets overwritten later by proration behaviour

idle surge
#

This one costs $37.50

ripe abyss
#

Does the description of the invoice line item make you think the discount is applied again?

idle surge
#

It is not being applied again, should it?

#

If we just apply it every time wouldn't it make all subscription cycles cost $137.50 instead of $150 even though we want to apply it once?

ripe abyss
#

No it's not applied again.

idle surge
#

So if we just set the coupon on every subscription from the first one the next cycle will still cost $150?

#

The coupon will only work on that subscription cycle?

ripe abyss
#

If the duration of the coupon is set as once, then the discount is applied once only.

idle surge
#

Ok sounds good I'll try that, thank you for your help