#pinho

1 messages · Page 1 of 1 (latest)

boreal whaleBOT
wary lantern
#

ID: "evt_1MyckDCEFXuxJouUR6EkaK3P"

cloud acorn
#

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.

wary lantern
#

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;

cloud acorn
#

Yeah you can see there are some pending_verification things there

wary lantern
#

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.

cloud acorn
#

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

wary lantern
#

Ok, I'm gonna use the charges_enabled & payouts_enabled. In this case, the only thing missing is payouts_enabled.

#

Thanks, I'm gonna try find out the reason.