#neto-dev_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ 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.
- neto-dev_api, 3 days ago, 25 messages
- neto-dev_checkout-session-currencies, 5 days ago, 27 messages
hi there!
hii
you never receive the invoice.upcoming event, or its specific to the Subscriptons you shared?
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
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?
hmm, where can I check this?
Check exactly the connected account configuration that refers to the upcoming
you'll need to ask the connected account to login in their Stripe Dashboard, open this page https://dashboard.stripe.com/settings/billing/automatic, and check this setting:
if you see the event for some accounts and not others, I'm guessing that's the issue.
This probably isn't the problem, I configured this at the beginning of my development
are you looking at the connected account settings (acct_1R2YO2H7b7tFkA7Y)?
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
interesting, looking into this.
ok
can you share a Subscription ID where you got the invoice.upcoming event, so I can compare the two?
thanks, checking
ook
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.
No, upcoming was always configured, what I changed was this option that's in the image
I changed it yesterday in the afternoon
thanks for the clarification, still looking into this.
Ok, thanks
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'.
this is mentioned here: https://docs.stripe.com/billing/subscriptions/webhooks#active-subscriptions
I think I understand, what should I change then for the correction?
if you want to get a invoice.upcoming event, then you need to update your subscription to collection_method: 'charge_automatically'. you can learn more about this here: https://docs.stripe.com/api/subscriptions/update#update_subscription-collection_method
How can I change this via interface??
hey there, soma had to step away. Are you asking about changing the collection_method via your Dashboard?
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?
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
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
You can update this via the Subscription Update API directly: https://docs.stripe.com/billing/collection-method#set-collection-method-subscription
You're not the support?
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?
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.
Your friend said he just checked this, can you check again to make sure?
Just to confirm if this really is the problem
It looks like the second subscription was just updated to charge automatically yesterday: https://dashboard.stripe.com/logs/req_6cjtrVaZdX1jkt
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
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)
If I change to automatic billing today an invoice that will be charged in 7 days will it activate the upcoming?
?
It looks like it should, assuming the change was made before 7 days before the renewal, if you're switching this setting