#jovana_webhooks

1 messages · Page 1 of 1 (latest)

neon sorrelBOT
#

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

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

fossil burrow
#

Which specifically do you want to test?

gritty minnow
#

I want to test the payout.reconciliation_completed and payout.updated webhook events to ensure my application processes them correctly. My application handles these webhooks to:

  1. payout.reconciliation_completed: Insert payout details (e.g., payout_id, payout_date, payout_amount, fee) into the database.
  2. payout.updated: Update the trace_id
worn garden
#

payout.reconciliation_completed is not supported in the same way. How are you testing this with Connected accounts right now?

gritty minnow
#

I’m familiar with testing payout.updated using Stripe CLI, thanks for answer. Here's how I’ve been testing: 1. I set up a connected account in test mode and configured the payout schedule to "daily."
2. I initiated a destination charge to the connected account using the CLI.
3. Once funds were available in the connected account, I waited for the automatic payout to trigger the payout.reconciliation_completed webhook event.
4. After the payout was processed, I monitored for the payout.updated webhook event, which updated the trace_id field.

#

Now I want to test this directly on the main account, but the payout events don’t trigger. I see that adding a test bank account is required for payouts, but this isn’t possible in test mode

worn garden
#

This way you should be able to just create a manual Payout on the Platform account and receive the same events.

gritty minnow
#

The problem with manual payouts is that they don’t trigger the payout.reconciliation_completed event.

worn garden
#

You should be able to set up automatic payouts on the Platform too, no?

gritty minnow
#

Yes, but it is required to add first bank account. When I try to add a bank account, it requires a real one, not with test data

neon sorrelBOT
worn garden
#

I understand. Would you be able to add a real bank account in order to test this? It shouldn't be affected in Test mode.

gritty minnow
#

Do you mean adding a real bank account in live mode and then switching to test mode to wait for payouts? Will anything actually happen to my bank account in that case?

hearty haven
#

hi! I'm taking over this thread.

#

so your goal is to test the payout.reconciliation_completed event in test mode?

gritty minnow
#

Hi! Yes

hearty haven
#

not sure, having a look...

gritty minnow
#

Actually, I want to test payouts using the main account, not a connected account. I’m wondering if that’s possible in test mode. You can see everything in the thread

hearty haven
#

I couldn't find anything related to this, so my guess is you can't really test this in test mode.

gritty minnow
#

So, you think this is not possible: Do you mean adding a real bank account in live mode and then switching to test mode to wait for payouts?

hearty haven
#

Do you mean adding a real bank account in live mode and then switching to test mode to wait for payouts?
I'm not sure, but you could try

gritty minnow
#

I’ll probably try. Thanks for your help!