An easy and simple to use React button component to implement PayPal Checkout with Smart Payment Buttons V2 (Version 2).
274
stars
81
forks
source link
Fix: call 'onError' with "Paypal SDK could not be loaded." error #112
Closed
holdMyTea closed 1 month ago
In my case, I was able to handle cases when PayPal SDK could not be loaded, but I couldn't prevent an exception being reported to Sentry.
I think it would appropriate to handle this error with the
onError
prop, as it's meant to catch all exceptions according to the docs:Should also help with this issue #40