#dahumbletrooper_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/1366560687333310536
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! which webhook event are you listening to? i'm not finding anything using the event ID you shared
the short answer is that you will probably need to do a second call to GET a new object, and use expansion to get down to the product info
https://docs.stripe.com/api/expanding_objects
you say "without coding it somehow", are you not writing the code for this?
Hello, I'm trying to connect stripe to a web hook I made on make.com it is already sending information to it, I selected from the possible pre-made choices on stripe webhook page payment checkout and all the info I need to arrive to my webhook but I'm missing the product or name id
I haven't need to write any code for this cause it has all been very user friendly
unfortunately none of the objects that fire events here have the product data directly inside of them, so a second API call to stripe will be necessary in order to get it
Also I wrote the Metadata for it on my products catalog in product and on price but still I haven't been able to get that specific Metadata (product name) to be able to handle the additional steps of the automatization
Oh I c
specifically you would want the checkout.session.completed event and you would want to expand onexpand=[“line_items.data.price.product”] when retrieving the checkout session
Oh I C, im kinda noob on this Srry to bother you with this kind of questions, but that code should I use it on the live environment?
Or in the sandbox?
typically you would start by developing this using your sandbox API key, and once you're ready to go live you would deploy with your live API key
OK, it's done in the Shell right? Is there like a tutorial for noobs or could you tell me please where should I write this code on stripe?
Hi @rustic plover I'm taking over this thread.
hello jack, thanks for helping a noob XD, im srry im not good at coding, but ive been working in this project of mine
i want to be able to have customers buy online so i have stripe and i want stripe to communicate the information to my webhook on make.com account i have
No problem. You can take a look at the API reference doc to learn more about how to expanding objects in response https://docs.stripe.com/api/expanding_objects
We also have an integration doc for this specific use case. Some example code is available at https://docs.stripe.com/checkout/fulfillment?payment-ui=stripe-hosted
i was thinking of creating a http get module from make to do a 2nd api call and request the product information to stripe
What programming language are you using?
https://docs.stripe.com/sdks#server-side-libraries Stripe provides SDK for various languages, and I'd highly recommend you using one of them.
I'm building on make directly not working on any programming language tbh
Just wanted to make some automatizations not sure i was going to need how to program 😢