From the course: Next.js Ecommerce: Build a Shopping Platform from Scratch

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

PayPal sandbox setup

PayPal sandbox setup

Alright, so now we're going to start to implement PayPal and in order to do that you're going to need to go to developer.paypal.com and PayPal has a sandbox mode so you can see right here it switched to sandbox and this allows you to test your application before you go live and the way it works is you create a sandbox account for the buyer and a sandbox account for the seller. The seller would be a business account, the buyer would be a personal account and then Then you can use these accounts to test your application and everything works as if it were in regular live mode, but you're not actually using real money or real banks. All right, so once you log in to developer.paypal.com, you want to go to testing tools and then sandbox accounts. And from here, you can create personal and business accounts. You can see I have this. This is my personal. So when I log in to buy things in my application in development, this is the email I would use. And then to sell, I would put this as the…

Contents