#pooja_webhooks

1 messages ¡ Page 1 of 1 (latest)

warm larkBOT
#

👋 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/1311502843085328444

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

wraith otter
#

Hi there, so basically you want to trigger a customer.created event with a name set for the customer in the event object?

brittle hornet
#

yes, and it should create new customer in my applications database when there is new customer created in stripe or payment made in stripe

wraith otter
#

For example stripe trigger customer.created --add customer:name=John

brittle hornet
#

so my custom application have a webhook api where it accepts the request and add the data to database. What I am trying to achieve is when ever new client / payment is made in stripe it should send that data by calling my application's api

wraith otter
#

Stripe can send payment related webhook events to your webhook endpoint.

brittle hornet
#

yes, but how can I test it on my local?

#

I am trying to do it using Stripe CLI but when I fire a trigger customer.created why the new customer shows on dashboard?

wraith otter
#

That's because Stripe CLI created a new customer.

#

To clarify, is your question about how to set up a local webhook endpoint so you can test your application?

brittle hornet
wraith otter
brittle hornet
#

ok thanks for the doc, currently I am doing it the same way, it shows on CLI that trigger is succeeded but why it is creating a new customer on dashboard as well?

wraith otter
#

This is expected. As I explained earlier, Calling stripe trigger customer.created will create a new customer on your account

brittle hornet
#

ok, where can I see what request data is stripe sending to my custom webhook?