#amituuush
1 messages · Page 1 of 1 (latest)
hi! you can't easily trigger the event to happen
I think the only way really is to add a failing test number(https://stripe.com/docs/connect/testing#account-numbers to a connected account) and then do a manual payout, or wait for an automatic daily payout. It's not really practical and would be complicated to set up
This is something where I'd probably just mock the data instead
if I can trigger a failed payout in the stripe UI somehow that would work too
yep, but you can't as far as I know
what about with the failing test number you mentioned above?
I'm using ngrok and can forward webhooks to a local port, so the set up isn't an issue
well it's only relevant if you're using Connect. If you are, then you can add that card to a connected account when onboarding it. And then you have to make a payout happen, which in itself is complicated(you'd have to make a payment , using another special test card so the funds are immediately available, and then call the API to process a manual payout; or you'd need to process a payment and wait a few days)
so I really do think it's just too complicated for us to ask anyone to do really, it's easier to just mock the data overall and test your handler code by passing it some hand-crafted JSON
ok got it, and last question why only if I'm using Connect?
because those test numbers can't be added to a regular full Stripe account, only Express/Custom accounts
got it. ok thanks for your help