#ateret-oct-group_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/1230145522241634304
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
The platform you're integrated through doesn't seem to be using Checkout Session API for payments. So it's expected that there are no checkout.session.completed events
Can you elaborate why you chose this event?
I talked to you here last week, and you said that this is my way of getting the information I need (product name)
https://discord.com/channels/841573134531821608/1225050637029609514
Today I use payment_intent.succeeded webhooks
But I don't get the name of the purchased product
I see that my colleague asked you about which API/Integration you were using here but you didn't confirm if you were using Checkout Sessions API or something else which might have caused the confusion
#1225050637029609514 message
No worries, I can help clarify.
I set up a checkout.session.completed webhook, after this conversation..
I see that from the previous thread, however there was most likely some confusion around what APIs your account uses
OK. what am I doing now? help me please
First thing I'd like you to confirm is how is your account processing one-time and recurring payments?
Based on what I see from my end, it looks like for recurring payments you're using third-party platform Xperiencify & for one time payments, you're creating invoices from the dashboard.
Is that accurate? This is quite essential to understand before deciding which webhook events to listen to
I'll check in a moment. I'm just the developer of the integrations..
Great, then you should be familiar with what APIs your integration uses ๐
Is there some place inside Stripe where I can check it?
You can look at your request logs via the dashboard under developers section
I looked at it already based on the webhook ID you shared but just trying to confirm we're not missing anything this time around
I am looking for the answer with the account owner.
Is there anything else to check?
I don't think so.
For recurring payments they use Xperiencify and Stripe Subscription.
For one time payments, the majority through Stripe and sometimes through Xperiencify.
gotcha. So I'll assume for now that Xperiencify creates an invoice for one-time payments (you'd likely want to double check with the platform on how they create these charges, we're not familiar with third-party platform integrations)
For both cases, you'd want to listen to invoice.paid event
This event comes with an invoice object with lines which contains the items the customer paid for
https://docs.stripe.com/api/invoices/object#invoice_object-lines
Will I always receive an invoice?
Today I do not receive an invoice for some of my products
Yeah that's the part I'd want you to confirm with the third-party platform (Xperiencify)
Most of your payments are created by them. They should be the ones advising you on what webhook events you should listen to as they know more about the APIs they use.
We can just speculate based on your API logs (which I've done above)
OK. Thank you.
NP! Sorry for the confusion in your previous thread