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.

Stripe setup

Stripe setup

Alright, so we're able to accept PayPal payments but I wanted to give you guys another option. So we're going to set up Stripe which is also very popular and very secure, very seamless and you can have a credit card form right on your page that your customers can use and you don't deal with any credit card information or any personal information. You don't store any of it in your database. Everything is done through tokens, through Stripe. So you don't have to worry about screwing something up with someone's credit card. So you need to create an account. And if you have a real business that uses Stripe, as I do, I would suggest creating a whole separate account. And that's what I've done here. I created this a while ago because I did a few tutorials where I use Stripe and use their API. And there's actually some fake transactions here. So these aren't actual products. They're just for the testing in the tutorials I did. And you can see they all have this same credit card number…

Contents