#standeman_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/1275827583916965898
đ 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.
- standeman_api, 1 hour ago, 12 messages
- standeman_webhooks, 4 hours ago, 8 messages
- standeman_best-practices, 1 day ago, 14 messages
I want to see the product_data in my webhook*. This is so that I know that the payment of the customer was from a chargeback payment instead of another payment and I can handle if correctly.
Hello, unfortunately it isn't possible to get line item info along with the initial webhook event but if you retrieve the checkout session via the API it will have its full line item info
https://stripe.com/docs/api/checkout/sessions/retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I will try this.
It worked.
Do you have advise on if its best to create an invoice for the payment? Currently a SEPA payment failed for some reason for a customer on their subscription. This initiates a chargeback.
My current solution is to create a popup on my website so that that customer can't use the tool again untill they make the chargeback payment through the checkout. (All of this works correctly at the moment). However, the invoice for the SEPA chargeback still shows as paid in the customer portal. Currently I don't generate an invoice with the additional checkout payment. Should I also generate an invoice for this payment?
This would mean that the customer has an additional invoice in their customer portal, but it might be better for repporting or for bookkeeping.
That is up to you. I can definitely see how telling Checkout to make an invoice would make more consistent from the customer portal, but we don't really have any best practice advice here