Is your feature request related to a problem? Please describe.
It is something between a bug and a feature request. We want the handle the case "PayPal button was unable to be loaded". Currently it throws console error "Paypal SDK could not be loaded." (index.tsx:221).
Describe the solution you'd like
Do not throw a Javascript error. Use the already provided prop onError or catchError (which I don't know exactly their difference)
Describe alternatives you've considered
I believe the proposed solution is good enough.
Is your feature request related to a problem? Please describe. It is something between a bug and a feature request. We want the handle the case "PayPal button was unable to be loaded". Currently it throws console error
"Paypal SDK could not be loaded."
(index.tsx:221).Describe the solution you'd like Do not throw a Javascript error. Use the already provided prop
onError
orcatchError
(which I don't know exactly their difference)Describe alternatives you've considered I believe the proposed solution is good enough.