#amituuush

1 messages · Page 1 of 1 (latest)

stable ibexBOT
random cipher
#

hi! you can't easily trigger the event to happen

#

This is something where I'd probably just mock the data instead

old birch
#

if I can trigger a failed payout in the stripe UI somehow that would work too

random cipher
#

yep, but you can't as far as I know

old birch
#

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

random cipher
# old birch what about with the failing test number you mentioned above?

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

old birch
#

ok got it, and last question why only if I'm using Connect?

random cipher
#

because those test numbers can't be added to a regular full Stripe account, only Express/Custom accounts

old birch
#

got it. ok thanks for your help