#igor-vinicius_webhooks

1 messages ¡ Page 1 of 1 (latest)

tacit tapirBOT
#

👋 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.

vital token
#

hello

finite oreBOT
sharp orchid
vital token
#

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

#

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

sharp orchid
#

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.

vital token
#

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

sharp orchid
#

I do not know how WhatsApp's integration works but that is something you would need to ask them.

vital token
#

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

sharp orchid
#

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.

vital token
#

For example, this checkout site I would run my API on a certain product

finite oreBOT
vital token
#

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?

mighty sand
#

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

vital token
#

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

mighty sand
#

I'm sorry I don't really understand what those words could mean.

vital token
#

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

mighty sand
#

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

vital token
#

Can I call support for Portuguese-speaking voices?

mighty sand
finite oreBOT
vital token
#

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

sacred kayak
#

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?

vital token
#

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

sacred kayak
#

No, there's no way to make it specific to one product - webhook events would be sent for all purchased products

vital token
#

Could a customized email be sent for one specific product?

sacred kayak
#

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