#zelfrost_webhooks

1 messages · Page 1 of 1 (latest)

gusty fossilBOT
#

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

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

charred chasm
#

Can you share the pi_xxx ID for a payment where the .succeeded event should have been fired/sent?

echo pilot
#

Hello, I’m a developper at Resamania2, and we think we have some issues on receiving webhooks and how to check that in your dashboard. When I access the workbench on the webhooks part, it looks like the last event we received for any of our test environment (dev, rc0x, etc) is yesterday at 10:43 am.
But we sent transactions today, which went fine, and we received no events

#

Yes

#

pi_3SzZaXGZjKOKD6M71INgbWsl

charred chasm
#

I'm guessing you're the Connect platform in both those payments? acct_1JX5Z4LanmA9Pcv3

echo pilot
#

Yes

charred chasm
#

But they're all different URLs/endpoints to the other event

#

So this looks like some kind of account configuration issue?

charred chasm
echo pilot
#

What sort of url? This is a test transaction on a development platform, so the events should be send to platforms like api.dev.resa2.stadline.tech, api.rc02.resa2.stadline.tech, et

#

Oh

#

These are production environments

charred chasm
echo pilot
#

But this transaction is supposed to be on our test environment

charred chasm
# echo pilot But this transaction is supposed to be on our test environment

Yep, can happen:

For Connect webhooks, your development webhook URLs receive only test webhooks, but your production webhook URLs receive both live and test webhooks. This is because you can perform both live and test transactions under a production application. We recommend that you check the livemode value when receiving an event webhook to determine whether users need to take action.

Learn how to use webhooks with Connect to be notified of Stripe activity.

echo pilot
#

When I look at the workbench, I can’t find the event id you send, neither in live or in test mode, do you have any idea why?

charred chasm
#

Trying to understand why we didn't send the event to both though 🤔

charred chasm
echo pilot
#

I don’t understand, so I’m able to access this connected account (ends in KD6M7), see the transaction (the id I sent above), but I can’t see the related events and where they have been sent? Or am I missing something?

#

Sorry I’m just trying to understand why our transactions from the last 2 days received no webhooks on our test platform. Does this mean we are using an invalid account or something?

charred chasm
echo pilot
#

Oh, sorry

#

Had not seen that message 😅

charred chasm
#

OK, that explains it. acct_1NmvYUGZjKOKD6M7 is only connected to your platform in live mode, so we send all events (live and test) to the live mode endpoints only. The other account, which the desired/expected behaviour (acct_1KA9qKPtiR5KEdep) is only connected in test mode. This diagram explains it:

#

@echo pilot does that clear things up? You need to establish a connection between that account (and others?) with your platform in test mode

echo pilot
#

Ohhhh ok, so yes, either we link this account to our test mode, or we use another account already related to our test mode

#

That explains it clearly yes, thank you so much !