#amirny2205_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
đ 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/1212434308313129031
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
â˛ď¸ 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. Thank you for your patience!
Hello! We'll be with you shortly. 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.
- amirny2205_error, 1 day ago, 24 messages
Hello, after the payment succeeds, it is typical to listen to our webhook events like payment_intent.succeeded and then perform various actions on your backend from there
Can you tell me more about what you are trying to do after the payment?
I want to send a request to backend with order information to create a new order in the database
do you have a tutorial abut webhooks? thank you
I'm using django if that matters
That tutorial uses flask but the logic should be clear enough to port it
I don't think we have a tutorial specifically about sending this message from your client to your server but there are definitely javascript tutorials online that show how to generally communicate from client to server
Definitely impliment the webhook event listener though. Client messages are fine but they can get lost, so if you only rely on the client message, it is possible to miss a payment that a Customer made to you. Webhooks provide a reliable redundant backup so that you always know if a payment succeeded
oh don't bother thinking about this, that's not a problem
Thank you very much @pseudo eagle I'll try to proceed with what you said