0

Trying to incorporate Strips.js into my React App (TrendEdge.app)

Am following their documentation word for word.

Have wrapped my app in Elements tag, correctly declared Options constant, and the StripePromise.

As soon as their PaymentElement is rendered via my checkout Dialog, the app crashes and throws this error...

Uncaught Error: A cross-origin error was thrown. React doesn't have access to the actual error object in development

... I went to this React Cross Origin Errors page, but was unable to find my solution.

Any help would be greatly appreciated, thanks!

Logan McNulty
  • 73
  • 1
  • 7
  • There is not enough information to effectively help debug this. I'd look at this SO, https://stackoverflow.com/questions/48611310/uncaught-error-a-cross-origin-error-was-thrown-react-doesnt-have-access-to-th thread that has extensive debugging steps first. Then, if none of these help, you'd want to share your code here. – pgs Jul 25 '23 at 22:29

0 Answers0