#abhinav_best-practices

1 messages ยท Page 1 of 1 (latest)

brisk spadeBOT
#

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

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

lusty roost
#

๐Ÿ‘‹ happy to help

#

you can pass in 2 prices within the PL line_items

#

but the trial will apply to both

regal lion
#

will it let me offer controls trial for both products separately?

lusty roost
#

no the trial is set on the subscription level

#

not on the subscription items

regal lion
#

yes. that's what I found.

lusty roost
#

you can apply either a one-time fee for the time of the trial that should be paid by the second subscription item

#

or you can do a discount instead of a trial for the first price

regal lion
#

can we apply discount on a single product within a subscription

lusty roost
#

yes

regal lion
#

can you also elaborate this - you can apply either a one-time fee for the time of the trial that should be paid by the second subscription item

lusty roost
lusty roost
#

and you're setting a trial for 7 days on the subscription

#

which should only apply on price1

#

price 1 is 10$ and price 2 is 20$

#

basically the 7 days would be ~5$ for 7 days

#

so in the PaymentLink you can add a one-time price (not recurring) covering the 5$ for price 2 within the trial period

regal lion
#

Are these monthly prices? - price 1 is 10$ and price 2 is 20$

lusty roost
#

yes

regal lion
#

I don't understand this - basically the 7 days would be ~5$ for 7 days

lusty roost
#

basically the first invoice would include
price 1 ----- 10$
price 2 ----- 20$
price 3 ----- 5$
total ------- 35$
next invoices
price 1 ----- 10$
price 2 ----- 20$
total ------- 30$

#

the idea is 20$ for ~30 days -> ~5$/week

regal lion
#

But the first bill has a trial so the bill should be less than the second month.

lusty roost
#

the trial period is added days

#

oh oh

#

yes sorry

#

my bad! ๐Ÿ˜ฆ

#

basically the first invoice would include
price 1 ----- 7.5$
price 2 ----- 15$
price 3 ----- 5$
total ------- 27.5$
next invoices
price 1 ----- 10$
price 2 ----- 20$
total ------- 30$

regal lion
#

Basically our scenario is we may give 3 months free for product 1 and 1 month free for product 2.

#

Will discounting be a simpler option?

#

Then I will move in that direction.

lusty roost
#

yes way simpler!

lusty roost
#

so you apply 2 coupons

#

make sure to use the applies_to with a list of product IDs

#

and make sure that price1 and price2 are created on 2 different products

regal lion
#

Thanks. I will starting reading.

lusty roost
#

let me know if you need any more help

regal lion
#

Can we reuse a coupon for all the customers or do we need to create a new one?

lusty roost
#

they can be reused

regal lion
#

Which means I can create 2 coupons for our 2 products in the portal and then configure them in our code. And for each new user sign up, we keep applying the same coupons.

lusty roost
#

yes that's correct

#

you can actually test this out with test clocks

#

and see how the invoices are being generated for each cycle

regal lion
#

Yes, I have tried this before for future invoices.

lusty roost
#

ok cool

#

let me know if you need any more help