#spag7_best-practices

1 messages · Page 1 of 1 (latest)

trim pantherBOT
#

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

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

final oyster
#

Hi! Looking into your question!

cold ridge
#

Hi, the last part was cut..

Where should I intervene** in the flow (via the TypeScript SDK) to enforce that today’s rentals also end at midnight, and what parameters should I set?**

final oyster
#

To confirm the issue, you need the subscription to be from 00:00 to 00:00. But face an issue when the subscription is created and starts on the same day but at a later time like 15:00. Is this correct?

cold ridge
#

yes, i need the first day of a subscription like fully charged but only run until 00:00 , independently of the starting time at the first day. For example 15:00 -> 00:00 -> but charge 24h, then run following periods always 00:00 -> 00:00

final oyster
#

Bill customers for elapsed time by backdating subscriptions with prorated line items using flexible or classic billing modes.

cold ridge
#

okay this property seems not to be available while creating a subscription via hosted checkout, should it ?

trim pantherBOT