Closed shwao closed 4 years ago
Just found https://github.com/Luehang/react-paypal-button-v2/issues/34 which is the same issue but without the link to the code.
I should have looked in the PRs. I found this: https://github.com/Luehang/react-paypal-button-v2/pull/65 Please accept it!
onCancel
is documented here: https://github.com/Luehang/react-paypal-button-v2#large_blue_diamond-props But missing on thePayPalButtonProps
interface.https://github.com/Luehang/react-paypal-button-v2/blob/d819579f77723d2a361476e41e231708a6b8c01c/src/index.tsx#L101