What library? I've added the code to my website with the 'test' and the paypal buttons show up. Buy when I add my client ID, nothing. This is a most confusing process. If the process would be shown WITHOUT all the descriptions - just the step-by-step process to follow, maybe it would work. I spent an hour on the phone with a paypal help rep and both of us came away confused with nothing working on my website.
I don't think so, at least that's not what they want. I took a glimpse at their design guidelines, and we should always have the paypal reference with their standard stuff. I guess anywhere you go and pay with paypal it stands out and is easy for the user to spot what it is. I was going to have 2 buttons, instead I just took the first button's functionality and added it to the onClick function (before resolve()) and ended up with only the paypal button. For functionality you could do the same, and regarding the UI you'd have to get one of the standard options they provide.
Awesome tutorial, works first try just from going at the same pace as you, so intuitive and you speak well and explain each and every step beautifully. thanks!
That's probably related to strict mode. I ended up removing react's strict mode, you end up having to write more and weird code to go pass that. At least I didn't find good ways for some of the problems I was having.
"Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component." The above error occurred in the component.... Any idea why I would be getting this error? Thanks