#Scheggia-webhook-connect
1 messages ยท Page 1 of 1 (latest)
Hi
I'm not getting anything on the webhook
ohh i need connect webhook type?
like this
Yes, if you are trying to listen to events from Connected Accounts, then you will need to use Connect Webhooks.
Was an account.updated event triggered?
Can you locate the ID of that event?
wdym?
Completing the data entry takes me to my confirmation page but the webhook receives nothing ...
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?
acct_1L7guUQNBnmmXba0
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.
Yup, a test mode connect webhook, and then I would expect you to see corresponding events if you create/update a new connected account.
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
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Hi
Hi, what seems to be your question?
So when the user has completed all the form the details_submitted parameter becomes true?
When all the details required in the requirements property have been submitted this is set to True (I think).
https://stripe.com/docs/api/accounts/object#account_object-requirements
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I only have to request the IBAN for payments so is it correct then?
Have you tested it out? And what about reviewing the other potential capabilities? https://stripe.com/docs/api/accounts/object#account_object-capabilities
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.
And I'm asking, have you tested it and confirmed the account is created with the capabilities you expect?
mhh
Ok it seems to work, but is it possible to make sure that the user does not have to provide the identity document?
I think your code is likely correct but before anyone starts relying on this in production I would highly recommend you run multiple tests
I guess it only serves if the system detects the fake address, or always asks for it?
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.
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?
๐ Snufkin had to step away so I'm stepping in here.
Okay
When you say "iban" are you referring to a Connected Accounts external account?
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.
Are you planning on using Manual Payouts or Automatic Payouts?
With Automatic, you can set the anchor on the account: https://stripe.com/docs/api/accounts/create#create_account-settings-payouts-schedule-monthly_anchor
Manual
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)
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.
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.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sorry, should have linked. This hash: https://stripe.com/docs/api/accounts/object#account_object-requirements
So if there is anything in the requirements.disabled_reason then you know the account isn't active yet.
okay
So I have to check requirements.disabled_reason = null and details_submitted = true ?
Yes that is a good way to know if they completed onboarding and whether the account is enabled.
Yep. If you want to be extra sure then you can also check the charges_enabled and payouts_enabled properties on the Account (https://stripe.com/docs/api/accounts/object#account_object-charges_enabled and https://stripe.com/docs/api/accounts/object#account_object-payouts_enabled) but those should be true if there is no requirements
Sure thing!
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.
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.
okay
So wouldn't be correct to show a message saying they need to submit documents
Is there a param to check that shows why the account is disabled?
Yep, that is in the requirements hash: https://stripe.com/docs/api/accounts/object#account_object-requirements-disabled_reason
๐
Happy to help!