#nadiya_code

1 messages · Page 1 of 1 (latest)

craggy relicBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

gusty grotto
craggy relicBOT
blazing iris
#

req_aneJCyiEdmcmvd

lavish onyx
#

Hi hi! I’m going to be jumping in here; give me a moment to read back.

#

So Phase 1 would look like this:

    {
        // Phase 1 :
        trial_end: nextBillingDateUnix,
        collection_method: 'send_invoice',
        invoice_settings: {
          days_until_due: 3,
        }
        iterations: 1, 
        items: [{ price: stripePriceId, metadata }],
        metadata,
    },
blazing iris
#

sorry, out of topic:
how to reset the clock of a customer?
is that possible from stripe dashboard?
i was testing a subscription earlier, and used to advance the time to check the recurring behaviour of an invoice

lavish onyx
#

When you say 'reset', what do you mean? Like set the clock back to the beginning?

blazing iris
#

yes, back to current day. (or just remove the similation/ clock object) without deleting and recreating the same cusotmer

lavish onyx
#

So you'd need to rebuild the test scenario with a new clock.