#disha

1 messages · Page 1 of 1 (latest)

unreal plankBOT
solemn saffron
#

Details submitted doesn't mean the verification passed as the verification process may take some time to process. charge_enabled should be the field to look for to determine if the payment collection can be performed

zenith citrus
#

so will that field be quick enough to verify?

#

or will that also take some time?

solemn saffron
#

charge_enabled will only become true if the account meets the charges requirements

#

It may take some time

zenith citrus
#

ok, how should our code handle 'some' time? because we need to restrict the user from making any other operations until the account is enabled

solemn saffron
#

I'd recommend using Webhook and listening to account.updated event to check charge_enabled becomes true

zenith citrus
#

understood

#

thanks