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

Initializing Cash App Pay failed TypeError: Cannot read properties of undefined (reading 'toString')

Open jrejaud opened this issue 2 years ago • 0 comments

Describe the bug

Trying to use Cash App Pay triggers the following error:

index.js:1 Initializing Cash App Pay failed TypeError: Cannot read properties of undefined (reading 'toString')
    at pay.js:79:12358
    at oo.logEvent (pay.js:79:16647)
    at il (pay.js:93:104713)
    at async Object.cl [as pay] (pay.js:93:105061)

Your Example Website or App

Using React,

Steps to Reproduce the Bug or Issue

Try to follow the example and use Cash App

Expected behavior

I expect it to work lmao

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

jrejaud avatar Jul 30 '22 09:07 jrejaud