-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read properties of undefined (reading 'startPayment') #23
Comments
I've never seen this before. Does the example work for you? ( |
Looks to me like something is re-rendering your view. Please check out our example and your lifecycles. |
I'm running into the same issue using react 18.2.0. |
This should be fixed with 3.2.0 (already released). Please re-open this issue if it still happens. Thanks for your report! 🍻 |
Hi Datatrans,
Thanks a bunch for this library and the quick integration into React.
I am facing an issue where I am getting an error message, followed by the lightbox appearing a couple seconds later.
If I integrate the script given in the datatrans documentation (<script src="https://pay.sandbox.datatrans.com/upp/payment/js/datatrans-2.0.0.js">), the lightbox shows up but I cannot click anywhere on the lightbox
I am currently building a Web Application with :
Nextjs v 12.3.0
React v 18.2.0
react-datatrans-light-box v 3.1.0
The text was updated successfully, but these errors were encountered: