You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm showing bank card form in modal window and lazily load braintree hosted fields script when user opens a modal (showing loading wheel). Sometimes, user may decide to not wait and close modal after braintree.hostedFields.create() call but before it was resolved, as a result I get HOSTED_FIELDS_TIMEOUT error.
Desired solution
Provide a way to abort hostedFields.create() initialization.
Workaround
I can catch an error in component and in case it's destroyed, I can ignore HOSTED_FIELDS_TIMEOUT error.
The text was updated successfully, but these errors were encountered:
Hello, @serhiistotskyi, thanks for the suggestion. We'll mark this report as an enhancement to consider adding this feature to Hosted Fields, though we can't guarantee that this will be implemented at this moment.
General information
Issue description
I'm showing bank card form in modal window and lazily load braintree hosted fields script when user opens a modal (showing loading wheel). Sometimes, user may decide to not wait and close modal after
braintree.hostedFields.create()
call but before it was resolved, as a result I getHOSTED_FIELDS_TIMEOUT
error.Desired solution
Provide a way to abort
hostedFields.create()
initialization.Workaround
I can catch an error in component and in case it's destroyed, I can ignore
HOSTED_FIELDS_TIMEOUT
error.The text was updated successfully, but these errors were encountered: