#pinho
1 messages · Page 1 of 1 (latest)
ID: "evt_1MyckDCEFXuxJouUR6EkaK3P"
Hello there
You want to look at the requirements hash to understand if there are specific things still required and then you can use charges_enabled and payouts_enabled for a high level understanding of whether the account is enabled.
Yes, that's what I'm using, however, the payouts_enabled return false
To understand if the Stripe Account status is Incompleted / Completed, I do the following:
$stripe->requirements->currently_due ? StripeAccountStatus::Incompleted : StripeAccountStatus::Completed;
Yeah you can see there are some pending_verification things there
Where? it shows me an empty array
Does this mean I shouldn't be using the ->currently_due to check if something is missing or not? It comes empty, I'm assuming nothing is missing.
Actually, your documentation says:
Retrieve the user’s account and check for charges_enabled. If the account isn’t fully onboarded, provide UI prompts to allow the user to continue onboarding later.
So, it seems I should be checking for this variable instead.
Right that's what I stated above. But you won't see anything in currently_due if something is pending_verification (https://stripe.com/docs/api/accounts/object#account_object-requirements-pending_verification)
So you can check that as well if currently_due or past_due is empty
But the easiest thing to rely on is charges_enabled and payouts_enabled
requirements allows you to know the specifics