#fedeb_api

1 messages · Page 1 of 1 (latest)

sharp hearthBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1355174966508781790

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

brisk sandal
kind drum
#

the cupón code is for "10% off once" but when using the clock feature to advance time in test mode.
two invoices got the discount of 10% .

brisk sandal
#

Are you able to test that?

kind drum
#

the problem is if I remove the discount it will be removed.
I tested with other subs. that had 50% off for 3 months

create scheduled , response has two phases with each one discount object
https://dashboard.stripe.com/test/logs/req_6Y15mv83SlPYA3

I added a new phase without the discount object, (but the other two still have discount object to maintaining the same original data)
https://dashboard.stripe.com/test/logs/req_yZRQGFWuIy8pOl

and the effect was that only 1 invoice had 50% the other were full price when using Clock feature.

brisk sandal
#

Which invoices did you expect the dicount to appply exactly?

kind drum
#

I notice now that the original discount was applied to old SKU. the first invoice in_1R6wHcE8gsL5R1XuJph1AqqZ

but the other two invoices in_1R6wJVE8gsL5R1Xujl3wVbY6 in_1R6wJFE8gsL5R1Xu2qaARbcc
has the new sku, that Im not adding "discount" object in the phase. so that could be the reason?

#

since they are different sku, is not passing the % month to the next two since its a differet sku of when the coupon was applied?

brisk sandal
kind drum
#

but why, I dont understand.
If I add the coupon to the new phase that has new sku, it will applied to 3 months future invoices.
making in total 4 invoices with discount

brisk sandal
kind drum
#

because the first one was applied in_1R6wHcE8gsL5R1XuJph1AqqZ
then the new phase that makes the upgrade plan to new price take effect

if in that phase I send the discount code, it will interpret as a new coupon applied so it will start again from zero.
making the next 3 invocies to 50%

so in total 4

brisk sandal
#

I see. I highly recommend that you test with iterations here and see if that what you're looking for.

kind drum
#

okay I will go and test more thanks.
that is all