react-square-web-payments-sdk icon indicating copy to clipboard operation
react-square-web-payments-sdk copied to clipboard

Add event listener for 'ontokenization' before calling tokenize

Open aurelius0 opened this issue 1 year ago • 1 comments

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

aurelius0 avatar Aug 29 '23 14:08 aurelius0