#clement-pinchedez_api

1 messages ยท Page 1 of 1 (latest)

sudden shuttleBOT
#

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

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

vernal linden
#

Here is a screenshot of the invoice PDF

#

I would like to have the due date set to April 18 (the finalization date)

solar roost
#

Hi, let me help you with this.

#

What's your business use case to finalizing the Invoices that late in the future?

sudden shuttleBOT
vernal linden
#

Hello,
Sorry for the delay in my response.
Here is my use case.
We offer a 30d free plan for our new customer to test our tool.
During that 30d period, they can decide to upgrade to continue using the tool.
In the upgrade modal, they are asked to enter billing info (billing address + credit card) and that creates a Stripe customer and a Stripe payment method
We would like to customer to be charged only at the end of her free trial.

umbral snow
#

Hi there ๐Ÿ‘‹ jumping in as my teammate needs to step away. Are you using our Subscriptions in your flow by chance? Because they offer the ability to start customers on free trials, and then have the Subscription automatically cancel if the customer doesn't have a payment method on record by the end of the trial period.

vernal linden
#

Hello Toby, no, we are not using Subscriptions

#

I think this is because we need to charge the customer on variable prices afterwards

umbral snow
#

Gotcha.

I can file feedback with our teams indicating that you'd be interested in seeing us allow you to set custom due dates in this case, but that wouldn't be a change that is made in the short term so I think you should explore alternative approaches.

#

One option that comes to mind, is to not use charge_automatically, so then you can set the due date.

vernal linden
#

ok, but in that case the customer will receive the invoice by mail and have to pay it, right?

umbral snow
vernal linden
#

The request to pay will have to be done at the finalization date?

umbral snow
#

Yeah, that's when it would likely make the most sense to do it based on what I'm gathering about your flow. You could have a webhook endpoint listening for invoice.finalized Events that could trigger those payments.

vernal linden
#

Ok, thank you for the explanations !
I will try the option you suggest.
But I would definitely prefer having the possibility to set a custom due dates. Is there a way to track the implementation of this feature?