#mayuri_api
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/1369604753469870106
đ 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.
- mayuri_api, 4 days ago, 38 messages
hi there!
hi
can you share the Subscription ID (sub_xxx)?
sub_sched_1RLfGPEMYi1rArGRHb9A3fnM
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
hey
are you there?
yes, please be patient
ok
that subscription schedule was succesfully created, and will start on june 5 as expected. what's the issue?
the subscription will start on june 5, so that's when we will try to charge the customer
means if my subscription will start on 5 june then my payment will deduct on 5 june correct?
yes
with code, you would use a webhook events, and listen to invoice.paid event. you can learn more about webhooks here: https://docs.stripe.com/webhooks
ok
Hello
There is a lots of webhook event of invoic.paid so in that how do i identify the invoice is for my sheduled subscription?
Are you asking how to know which Subscription does the Invoice in the invoice.paid Event payload belongs to?
yes, kind of
invoice.paid event payload contains an Invoice object, which has parent.subscription_details.subscription property, which, if present, will contain the related Subscription ID: https://docs.stripe.com/api/invoices/object#invoice_object-parent-subscription_details-subscription
Okay, Thanks