#krishnaKanabar-invoice

1 messages ยท Page 1 of 1 (latest)

fallen heath
#

๐Ÿ‘‹ happy to help

cedar cloak
#

??

#

Are you checking?

fallen heath
#

yes I am

cedar cloak
#

okay thanks

fallen heath
#

the customer doesn't have a invoice_settings.default_payment_method attached to them

#

oh I just saw that you have updated the subscription and added a default_payment_method

cedar cloak
#

yes

#

So i have canceled previous subscription

fallen heath
cedar cloak
#

I have created subscription->canceled it->created new subscription after billing cycle end

fallen heath
#

since it's in a test mode

cedar cloak
#

In my platform this functionlity is given that after canceling subscription If user comes to reactivate then I create new subscription

fallen heath
#

could you start over and start fresh

#

wait I just saw that you have created the subscription on a customer with a test clock

cedar cloak
#

yes

#

I am using test clock

#

I have advanced time to Oct 2 and then canceled subscription

fallen heath
#

could you please advance the clock for an hour?

cedar cloak
#

I want to test monthly recurring that's why advancing for 1 month is required

fallen heath
#

I understand

#

but the first invoice on a subscription is not finalized before an hour of its creation time if it has an amount > 0

cedar cloak
#

But that did not happen with me first time

#

first time when I am creating subscription invoice is getting generated with status paid...

fallen heath
#

this happens if the amount is 0

cedar cloak
#

but how come amount is 0

amber wraith
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!

cedar cloak
#

I have created subscription->canceled it->created new subscription after billing cycle end

#

Invoice generated is in draft for new subscription

junior gate
#

Do you have a specific Q?

amber wraith
#

if I can resume:
You create a subscription using a test Clock which it's time is 11/2/22, 1:35 PM, a draft invoice is created, Stripe waits 1 hour before finalizing the invoice, if you go to the invoice page (https://dashboard.stripe.com/test/invoices/in_1LY5NzSJsXH2azWQN7leX3d4), you'll see that the invoice will be finalized and charged at 11/2/22, 2:35 PM
So you need to advance the test clock one hour so that the invoice will be finalized, after that you can test recurring by advancing the test clock one month for exp

https://stripe.com/docs/billing/invoices/subscription#:~:text=Stripe finalizes and sends the invoice in 1 hour

Learn how to manage subscription invoices.

cedar cloak
#

If test clock is not used and consider today is 11/2/2022 then also same thing will happen?

#

or because of test clock it is happening

earnest pebble
#

๐Ÿ‘‹ I'm taking over from os4m37, catching up now

#

Even if test clock is not in used, Stripe will wait for 1 hour before finalising the invoice

cedar cloak
#

okay

#

One more thing to ask

#

Can I send email invoice to perticular customer using stripe?

earnest pebble
cedar cloak
#

this checkbox is already on in my account

#

but not receiving emails

junior gate
#

You won't in test mode