#vipul-kapoor_api

1 messages ¡ Page 1 of 1 (latest)

brazen reefBOT
#

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

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

tawdry bramble
#

hello! Is this for a one-off invoice or a subscription?

#

If it's for a one-off invoice, can you also share more on why you want to only charge the customer on a certain date only and not immediately?

dusky sail
#

My business is a subscription model and users can be on a monthly or annual plan. For monthly subs, I can add the charge to the upcoming invoice but for annual subs, upcoming invoice can be 10 months away.

This charge is for a add on item that the customer has requested to be sent to them in their next box (sent monthly). I don't want to charge them immediately because I want to give them an option to cancel the item before we send it.

brazen reefBOT
cloud smelt
#

For annual subscription as an example, when do you expect the add-on item to be invoiced? Is this add-on item one-time only or recurring?

#

For example, if the customer signs up an annual subscription on Sep 1 and adds add-on item in Oct 5, when do you expect the customer to be charged?

dusky sail
#

The boxes are sent monthly in either case. If they signup on Sep 1, they'll get the box on the first of each month. So if they add an item on Oct 5, it should be billed on Nov 1. I can provide this date to the API

#

This is a one time charge

cloud smelt
dusky sail
#

Let me see if I got this right.

I set the pending_invoice_item_interval to 1 month, the annual subscription will still get billed on yearly intervals but if I add a invoiceitem to upcoming invoice, it will get charged in a month?

cloud smelt
#

It will charge on a monthly basis with reference to the billing_cycle_anchor timestamp. If customer signs up on Sep 1 (billing cycle anchor) and add an item on Oct 5, customer will be billed on Nov 1.

dusky sail
#

Ok. I'll test it

#

Thanks

#

How long does the thread remain open?