#felipe1992_webhooks

1 messages · Page 1 of 1 (latest)

distant isleBOT
#

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

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

ivory steeple
#

Hi 👋

This event was not sent to any endpoints. Is your endpoint listening for this event type?

#

Wait, actually I am looking at your account and there are no webhook endpoints at all

#

I recommend you register a webhook endpoint in you Stripe Dashboard and listen fo the checkout.session.completed event type.

deep plume
#

Yes, the webhooks are created and listening to their respective events. One is called test-connection-webhook and the other stripe-checkout. They are created only in the test environment, in a test account I created named Prueba Felipe with the email pipe.blaksley@gmail.com.

ivory steeple
#

The account associated with this webhook event does not have a webhook endpoint listening for it.

deep plume
#

Yes, it does. The email associated with the account is pipe.blaksley@gmail.com.

The webhook called test-connection-webhook works correctly — it notifies me when a new account connects to my account. However, the stripe-checkout webhook, which is supposed to notify me when a Stripe Checkout is successfully paid, is not working properly. The event is generated, but the system doesn't send the POST request to the endpoint I provided.

Remember that the webhooks are created in the test environment. I’m sending you a photo so you can see.

ivory steeple
#

There are two CONNECT webhook endpoints but those are forwarding events to different accounts

#

This event was triggered on a Sandbox account.

#

Is it possible you are listening on your main account instead?

deep plume
#

I recreated everything from scratch and it still doesn’t work. I receive the notification when a new account connects, but when a Checkout payment is made, it doesn’t send the webhook notification. Everything is set up in the test environment.

ivory steeple
#
  1. What account is doing the listening? Do you have the webhook endpoint ID?
  2. Do you have a new event ID I can check?
deep plume
distant isleBOT
ivory steeple
#

These are screenshots and not useful to me. Please provide the IDs as text

deep plume
#

Account details.

ivory steeple
#

Still screenshots, please provide IDs as text

deep plume
#

webhook:
name = Payment-notification
destination ID = we_1RQXD007imWyG30ZbQhd8lJf
event = checkout.session.completed

webhook:
name = Account-connection
destination ID= we_1RQXAy07imWyG30ZmXBvJlrZ
event = account.updated

#

account details:
name = Prueba Felipe
ID = acct_1RLmp907imWyG30Z

#

Were you able to find the information?

vague gale
#

Hey there, I'm in another thread will get to you shortly.

vague gale
#

Thanks, you shared the webhook endpoint (we_1RQXD007imWyG30ZbQhd8lJf) that you created for acct_1RLmp907imWyG30Z

#

The account has two connect webhook endpoints as my colleague pointed out. I recommend creating one for the Sandbox account which is the Platform.

Register your webhook endpoint in the Stripe Dashboard for the Sandbox:

  • Navigate to the sandbox in the Dashboard
  • Go to Developers > Webhooks
  • Click on "Create an event destination"