It is working. However, I get this error in the browser's console:
index.js:1 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of a which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node in div (created by a) in a (created by PayPalButton) in PayPalButton (at PayPalBtn.js:5)
Expected behavior
I expect not to see that error! :)
Desktop (please complete the following information):
OS: macOS
Browser: Chrome Version 81.0.4044.122 (Official Build) (64-bit)
To Do First
Software Package Version: 2.6.2
Describe the bug I use the component as said in the documentation, with minimum configuration:
It is working. However, I get this error in the browser's console:
index.js:1 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of a which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node in div (created by a) in a (created by PayPalButton) in PayPalButton (at PayPalBtn.js:5)
Expected behavior I expect not to see that error! :)
Desktop (please complete the following information):