#Scheggia-webhook-connect

1 messages ยท Page 1 of 1 (latest)

hasty valley
#

Hi ๐Ÿ‘‹ do you have an example of an event where you saw this behavior?

left oasis
#

Hi

#

I'm not getting anything on the webhook

#

ohh i need connect webhook type?

#

like this

hasty valley
#

Yes, if you are trying to listen to events from Connected Accounts, then you will need to use Connect Webhooks.

left oasis
#

okay thanks

#

@hasty valley Same...

hasty valley
#

Was an account.updated event triggered?

left oasis
#

yes

#

I created a connect account and filled it in from the url

hasty valley
#

Can you locate the ID of that event?

left oasis
#

Completing the data entry takes me to my confirmation page but the webhook receives nothing ...

hasty valley
#

Which is why I'm trying to make sure that account.updated events are actually being generated.

Hm, let me try another approach, what is the ID (acct_XXX) of your platform account?

left oasis
#

oh

#

is

hasty valley
#

Okay, so the problem is that you created your Connect webhook in live mode, but when you created the Connected Account it was created in test mode.

When creating connected accounts in test mode, their events will only be sent to your test mode connect webhooks, and only test mode events will be sent.

When creating the connected account in live mode though, all of its events (from both live mode and test mode) will be sent to your live mode connect webhooks.

left oasis
#

oh

#

I need to create a test mode webhook?

hasty valley
#

Yup, a test mode connect webhook, and then I would expect you to see corresponding events if you create/update a new connected account.

rich pollenBOT
#

This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact

left oasis
#

Hi

barren hornet
#

Hi, what seems to be your question?

left oasis
#

So when the user has completed all the form the details_submitted parameter becomes true?

barren hornet
left oasis
#

I only have to request the IBAN for payments so is it correct then?

barren hornet
left oasis
#

I don't understand, using this code (as in the screen) should I be able to send the payment?

#

So that the user arrives on his configured iban.

barren hornet
#

And I'm asking, have you tested it and confirmed the account is created with the capabilities you expect?

left oasis
#

mhh

#

Ok it seems to work, but is it possible to make sure that the user does not have to provide the identity document?

barren hornet
#

I think your code is likely correct but before anyone starts relying on this in production I would highly recommend you run multiple tests

left oasis
#

I guess it only serves if the system detects the fake address, or always asks for it?

barren hornet
#

Connect Account capabilities can depend on multiple different properties and it can be difficult to get right initially. Some validation takes time to run and so accounts will only be restricted after some period of time.

left oasis
#

Mhh okay

#

With these capabilities I should be able to request iban. And then from the dashboard can I send an amount that it receives on the right iban? Another question, how long does it take for the payment to arrive on iban?

round hawk
#

๐Ÿ‘‹ Snufkin had to step away so I'm stepping in here.

left oasis
#

Okay

round hawk
#

When you say "iban" are you referring to a Connected Accounts external account?

left oasis
#

basically I have to connect the users so that every month I can send them money which then arrives on the iban that he has configured.

round hawk
#

Are you planning on using Manual Payouts or Automatic Payouts?

left oasis
#

Manual

round hawk
#

Or with Manual you can dictate when the funds are sent since you create the Payouts yourself

#

Okay so with Manual the flight time of the payout will vary based on the currency and bank. But really I don't know much about the nuances of payouts... only how to build the integration. If you need specifics on flight time you would be better off talking to our Support team (https://support.stripe.com/contact/login)

left oasis
#

Okay

#

However I write that it arrives within 1 week and should be fine

#

What I have to finish now is the link, I used this code above to create the url where the user is redirected, complete all the steps and through the webhooks I get the details. I just have to figure out if as it says after the user has completed all the required details I can verify that everything is valid by checking the "details_submitted" parameter.

round hawk
#

Oh yeah definitely less than a week from when you initiate the Payout so you should be fine.

#

You want to rely on the requirements hash for whether an Account is active or not.

left oasis
round hawk
#

So if there is anything in the requirements.disabled_reason then you know the account isn't active yet.

left oasis
#

okay

#

So I have to check requirements.disabled_reason = null and details_submitted = true ?

round hawk
#

Yes that is a good way to know if they completed onboarding and whether the account is enabled.

left oasis
#

Okay

#

so checking these I'm sure the user is ready to get paid from me, right?

round hawk
left oasis
#

Okay

#

thanks!

round hawk
#

Sure thing!

left oasis
#

wait

#

Idea, I can check these first and then check charges_enabled and payouts_enabled so that if the latter two are different it will show an error like "You must complete the security checks by submitting documents" because I noticed this: for identity and credit checking. the address sometimes asks for documents and if they are not provided these two are missing to enable them.

round hawk
#

Well kind of...

#

ID verification is asynch

#

So the account could be disabled while the document verification is under review

#

But the user already submitted documents.

left oasis
#

okay

round hawk
#

So wouldn't be correct to show a message saying they need to submit documents

left oasis
#

Is there a param to check that shows why the account is disabled?

round hawk
left oasis
#

ohh yes, the same

#

perfect!

round hawk
#

๐ŸŽ‰

left oasis
#

Tysm for the support!

#

Nice day

round hawk
#

Happy to help!