#neto-dev_webhooks

1 messages ¡ Page 1 of 1 (latest)

grave dawnBOT
#

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

📝 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.

daring current
#

hi there!

stoic notch
#

hii

daring current
#

you never receive the invoice.upcoming event, or its specific to the Subscriptons you shared?

stoic notch
#

In my test mode I receive it, but when I pushed my update to prod I'm not receiving it in 90% of my subs

daring current
#

got it. you are creating Subscription directly on a connected account. so it's the connected account settings that are used.

#

are you sur that the connected account enabled the invoice.upcoming event in their Dashboard settings?

stoic notch
#

hmm, where can I check this?

#

Check exactly the connected account configuration that refers to the upcoming

daring current
stoic notch
#

In the webhook you mean?

#

humm

daring current
#

if you see the event for some accounts and not others, I'm guessing that's the issue.

stoic notch
#

This probably isn't the problem, I configured this at the beginning of my development

daring current
#

are you looking at the connected account settings (acct_1R2YO2H7b7tFkA7Y)?

stoic notch
#

Like in this image? When I try to access only the route /settings/billing/automatic I get redirected if I'm in this connected account

daring current
#

interesting, looking into this.

stoic notch
#

ok

daring current
#

can you share a Subscription ID where you got the invoice.upcoming event, so I can compare the two?

stoic notch
#

Yess

#

sub_1RRk8BH7b7tFkA7Y8KqhYftB

daring current
#

thanks, checking

stoic notch
#

ook

daring current
#

did you recently change your dashboard settings for the invoice.upcoming event? sometimes it takes some times for that setting to be applied to Subscription.

stoic notch
#

No, upcoming was always configured, what I changed was this option that's in the image

#

I changed it yesterday in the afternoon

daring current
#

thanks for the clarification, still looking into this.

stoic notch
#

Ok, thanks

daring current
#

okay, I found the difference! the subscription without the invoice.upcoming has collection_method: 'send_invoice'.

#

and we send invoice.upcoming only when collection_method: 'charge_automatically'.

stoic notch
#

I think I understand, what should I change then for the correction?

daring current
grave dawnBOT
stoic notch
#

How can I change this via interface??

molten lichen
#

hey there, soma had to step away. Are you asking about changing the collection_method via your Dashboard?

stoic notch
#

Yes

#

Your friend told me that an invoice generated the upcoming because it's in the right collection_method but apparently both are in the same collection method, and only one of them generated

This one the upcoming was generated sub_1RRk8BH7b7tFkA7Y8KqhYftB

this one the upcoming was not triggered sub_1Rih9vH7b7tFkA7YAfkwOjkV

can you check please?

molten lichen
#

I'm pretty sure the dashboard subscription edit/update flow lets you change this, but you'll need to contact our support team if you're having trouble with that: https://support.stripe.com/contact

stoic notch
#

Your friend told me that an invoice generated the upcoming because it's in the right collection_method but apparently both are in the same collection method, and only one of them generated

This one the upcoming was generated sub_1RRk8BH7b7tFkA7Y8KqhYftB

this one the upcoming was not triggered sub_1Rih9vH7b7tFkA7YAfkwOjkV

can you check please?

molten lichen
# stoic notch You're not the support?

We're a team focused on helping developers integrating with the API and SDKs. I can help you made that update via the API if you need help with that, but not using the Dashboard.

stoic notch
#

Just to confirm if this really is the problem

molten lichen
#

so for the next invoice cycle, when this is checked 7 days ahead of time, you should see those events

#

It won't retroactively apply to past invoices, or any upcoming invoices less than 7 days away (or whatever your setting is)

stoic notch
#

If I change to automatic billing today an invoice that will be charged in 7 days will it activate the upcoming?

#

?

molten lichen
#

It looks like it should, assuming the change was made before 7 days before the renewal, if you're switching this setting

stoic notch
#

ook

#

tks for help