react-square-web-payments-sdk
react-square-web-payments-sdk copied to clipboard
Add event listener for 'ontokenization' before calling tokenize
Describe the bug
We are seeing a new error in the console, which we believe causes ACH payments to fail.
The error message is:
Add event listener for 'ontokenization' before calling tokenize. This will result in an error when using the Plaid OAuth flow.
We have tried various ways to add the listener following the examples in Square's own docs, but to no avail.
Your Example Website or App
See below; this is reproducible in your own example.
Steps to Reproduce the Bug or Issue
It is easy to reproduce, because the same error is present in the console in the ACH example you show here.
Expected behavior
We think this should not happen.
Screenshots or Videos
No response
Platform
Browser: Chrome and Safari
Additional context
No response