#shubham_1306

1 messages ยท Page 1 of 1 (latest)

chrome oarBOT
gloomy talon
#

Hello ๐Ÿ‘‹
You'd need to advance the clock in order to move the clock forward and generate events

nocturne fiber
#

Can you provide some doc with images or video?

#

I have tried forwarding it but it doesnt work for me

gloomy talon
nocturne fiber
#

Its still nopt working

#

How can I get the subscription cycle for the coming month to be triggered right now?

gloomy talon
#

What sort of events are you looking for?
Also can you share the subscription ID in text?

nocturne fiber
#

sub_1NrcmFSFSc1Kz6ixRHbeOPkw

#

I am trying to see what happens when a automatic payment is triggered

gloomy talon
#

but the collection method on this subscription is send_invoice so we won't try to charge the customer automatically.

also it's a monthly sub so you need to advance the clock to Oct 18 for renewal events to be generated

nocturne fiber
#

Adcvanced to oct 18 still no event triggered

gloomy talon
#

Maybe the invoice finalization time is diff, try advancing it to Oct 19th

nocturne fiber
#

The event is triggered now but I have not recieved any mail

gloomy talon
#

We don't send emails in test mode

nocturne fiber
#

So I need to setup a Card Payment then?

gloomy talon
#

yes

nocturne fiber
#

Unable to add card

gloomy talon
#

Ah hmm, not sure. Our team isn't super familiar with dashboard flows unfortunately. Let me check something..

#

A workaround would be to open the customer portal for the customer and add a payment method there

nocturne fiber
#

Yeah Thnx that worked

#

just goona test the subscription now

gloomy talon
#

๐Ÿ‘

nocturne fiber
#

Yeah it worked

gloomy talon
#

Great, glad I could help ๐Ÿ™‚

nocturne fiber
#

But I stilll dont get any event where it shows

#

Payment is completed

#

2023-09-19 20:48:22 --> invoice.created [evt_1Ns5gvSFSc1Kz6ixQEcmx8M7]
2023-09-19 20:48:22 <-- [200] POST http://localhost:4242/webhook [evt_1Ns5gvSFSc1Kz6ixQEcmx8M7]
2023-09-19 20:48:22 --> customer.subscription.updated [evt_1Ns5gvSFSc1Kz6ix5W7hpler]
2023-09-19 20:48:22 <-- [200] POST http://localhost:4242/webhook [evt_1Ns5gvSFSc1Kz6ix5W7hpler]

#

these are the two events that are triggered

gloomy talon
#

What event are you expecting for the payment completion? The first invoice is overdue and the second invoice is still in draft.

#

None of the invoices have been paid yet

nocturne fiber
#

The first invoice is paid

#

For what I think it (the second one) should also automatically become paid after autocharging the card

gloomy talon
#

Did you update the subscription to charge the payment method on file automatically or is it still set to send the invoice?

nocturne fiber
#

I Advanced the clock to 23 Oct.

#

Then it worked

gloomy talon
#

๐Ÿ‘

#

ah you created a new subscription
I was still looking at the old one, but glad you're unblocked

nocturne fiber
#

Yeah Thnx

#

We were really were in a pickle there