#jose-fernndez_docs

1 messages ยท Page 1 of 1 (latest)

night basinBOT
rancid oracleBOT
#

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.

night basinBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1260593225903640668

๐Ÿ“ Have more to share? Add details, code, screenshots, videos, etc. below.

brazen crow
#

So since subscription billing happens automatically, how can I add metadata from the creation to the checkout session for the event in question?

novel skiff
brazen crow
#

Ok, if I understand I could look for the subscription when the invoice.payment_succeeded event arrives, and I understand according to the flow shown in the documentation, that if invoice.payment_succeeded.status is "paid" it means that the payment was made correctly, so I can take this event to confirm successful payment, right?

novel skiff
#

Correct

#

You can use either invoice.payment_succeeded or invoice.paid

brazen crow
#

ok, thx

#

๐Ÿ‘

novel skiff
#

NP! ๐Ÿ™‚ Happy to help