#igor-vinicius_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/1219428871527596063
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello
Hi, we do not have an out of box integration with WhatsApp. You can setup webhooks, https://docs.stripe.com/webhooks/quickstart and listen to https://docs.stripe.com/api/events/types#event_types-charge.succeeded to be notified when the purchase is completed successfully.
yes I know. I just want to understand how I can add my webhook link that I already have on the platform and be able to direct it to just 1 product
I need when someone buys my product to run this API that I already have.... https://api.devzapp.com.br/funil/start/v2/execute/65f8c5338553c506030ab810
This API will send a message to her on WhatsApp
but I need to know where to put it and what configuration to use so I can only target 1 product, because I have 2 products.
I only found "execute stripe events" in the webhook, but I don't want to execute stripe events, I want it to execute my own webhook
What does this 'I only found "execute stripe events" in the webhook, but I don't want to execute stripe events, I want it to execute my own webhook' mean?
When you create the Payment Link, https://docs.stripe.com/payment-links/create you choose which product to sell. Then, you share the Payment Link so your customers can make a payment. Once that payment is made, you can listen to the webhook event, and then send that message on WhatsApp.
How do I listen to this event and then send my message?
because if my API ran automatically I wouldn't need to keep looking and sending
You need to code, and set this up on your end, https://docs.stripe.com/webhooks/quickstart.
I do not know how WhatsApp's integration works but that is something you would need to ask them.
It is already configured in this webhook that I sent you above, I just need it to run in your webhook on just 1 of my products
I don't know if you understand me
So you only want to configure the event to be sent only on one product? That is not possible. Once you listen to the events, you would get it for all of your activities on your account. What you want to do after the event is sent is up to you, so you choose how to treat the event for one product vs. the other.
For example, this checkout site I would run my API on a certain product
I understood
here I could choose which product, which event my webhook would execute
It was something like that I wanted
Do you have support in Portuguese?
Your UI is not really something we support today no
And here we only speak English. Not sure if you're talking about chat support or something else though
So I can't execute a webhook that I have already pre-defined on a specific product, right? I can only see the events and then direct my client
I'm sorry I don't really understand what those words could mean.
Does your webhook just get the events? right?
I can't put an API URL to run on a specific product, is that it?
I have the API URL, I just wanted to run it on 1 product and when the purchase was confirmed
We (Stripe) generate Events evt_123 that are JSON blobs describing certain objects such as customer.created describes a Customer object
Sorry it's tough to help as we use the same words to mean completely different things
Can I call support for Portuguese-speaking voices?
You can contact support here https://support.stripe.com/contact and check what they offer
I would like to know how to create a webhook integrating my API. I've already got my API on a different URL. What I need is for your webhook to be configured in a way that executes my API whenever anyone purchases a specific product
Are you just asking how to create the webhook endpoint in the Stripe dashboard or are you actually asking how to implement the webhook code on your end?
I can do the endpoit, I just need to know if I can make it specific to one spectific product and only for succesful/finalized purchases
No, there's no way to make it specific to one product - webhook events would be sent for all purchased products
Could a customized email be sent for one specific product?
You'd have to implement that yourself - you'd listen for the webhook event, check which product it was sent for, and then add the logic to send the email if it's the product you want