#chris_subscription-billingcycle

1 messages ¡ Page 1 of 1 (latest)

jade saffronBOT
#

👋 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/1486122662844567603

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

fierce lion
#

I don't really get what you are trying to do. Can you write a simple but concrete example of who pays what and when?

#

chris_subscription-billingcycle

stark badger
#

sure : ) So a person signs up for a free 7 day trial of a $100 service, then on the 8th day they get charged the full 100, and then another 100 one month from the date they signed up for the trial

#

i tried talking the person wanting this out of it, but this is what he wanted

#

in my eyes they end up paying for the 'free trial', but whatever

fierce lion
#

ah yeah I see what you mean, so it's more a delayed payment for the first period lol

stark badger
#

yes, exactly

fierce lion
#

yeah I don't think that's possible without using a SubscriptionSchedule to "reset" the period mid way and not prorate

stark badger
#

I havent looked at that object. sounds like it might be overcomplicating the whole setup

#

what would you recommend?

fierce lion
#

I mean if you tried to convince them but they didn't listen I think it's your best option

#

Basically it's an API that lets you "schedule" changes to a Subscription over time

#

in your case you basically have a phase for the trial, a phase for the "partial month" and a phase that "resets the billing cycle anchor" to charge a full month

stark badger
#

good grief

#

ok, at least its possible, i guess. lol Okay, thanks a lot, I appreciate it! : )

fierce lion
#

sure thing!

#

There's another easier hack where you have a trial period and then you add a one-time Price via add_invoice_items for the full cost of the month. It'll get automatically added to the Invoice after the trial
Downside is: separate Price id, no proration if they change their Subscription during the first cycle, no MRR, etc.

stark badger
#

hm. thats an idea.

#

thats tacked on using a subscription-schedule also?

fierce lion
#

that's a separate approach

#

you can pass add_invoice_items on Subscription creation

stark badger
#

oh, gotcha

#

and it would tack it on for that first billing cycle?

fierce lion
#

yes

stark badger
#

just the first one.

#

Yeah that def sounds less complicated

#

although the cust is gonna be pissed to see theyre getting charged for a full mo plus the 'free' trial

#

so crazy

#

i think ill try the schedule suggestion and use this idea as a fallback

#

this last idea

fierce lion
#

yeah I mean I get it in a way, it's almost a "try it now, pay later" but it doesn't match how a lot of our UIs/docs think about a trial

stark badger
#

ive never seen a free trial set up this way

#

ah well

#

thanks again!