#vlad-ko_best-practices

1 messages ยท Page 1 of 1 (latest)

woven creekBOT
#

๐Ÿ‘‹ 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/1331273284381052971

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

terse isle
#

๐Ÿ‘‹ happy to help

ripe axle
#

Hi

terse isle
ripe axle
#

the important part is that this credit should be only used for the subscriptions he has

terse isle
#

the important part is that this credit should be only used for the subscriptions he has
yes this is the trickier part

ripe axle
#

the good part for the coupons is that they can be used and set per subscription

#

by saying they are stackable - does it mean that if i have associated 5 coupons with the customer's subscription they will be picked automatically and added to the next invoice

terse isle
#

discounts is an array and you can add multiple ones on the same subscription

ripe axle
#

what about the billing credits

#

when can i use it, in which cases

#

it sounds more useful for my case

terse isle
#

it is, but it's still in beta

#

some users don't like to anticipate and integrate in a beta feature since it might change in the future and break their integration

ripe axle
#

do you know when it might be prod ready

terse isle
#

no unfortunately we don't have that information

ripe axle
#

I will test with discounts field first

#

if i set them

#

on customer level, and let's say he has a second subscription

#

and has stacked 10 coupons x $10 and has $5 subscription each month and $30 subscription each 6 months, what will be the behavior

#

invoices are created automatically and if i understand correctly they will pick respectively the coupons

terse isle
#

if an invoice has more discount than the due amount, the rest will be transferred to the customer's credit balance

ripe axle