Alright, welcome back guys now let's add the payment methods on our website. So we are going to use type as the payment method on our website. Okay, so to do that go to your WooCommerce and go to payments and here you can see we have PayPal we but we don't have stripe Okay, so to get stripe go to plugins, you will need to get a plugin to get stripe so go to plugins, add new and here search for stripe rip. Okay, now let's see stripe payments. This one has good ratings so install it. stripe we actually you can use any one of these.
Okay, then activate. Yeah, let me just dismiss this PayPal geolocation we will configure it later on. Okay, now, let's Go to WooCommerce settings and payments, scroll down and as you can see we have three new options stripe payment alipay and stripe checkout. So let's just turn this one on okay and setup here transaction mode is test mode right now I will let it be on test mode if you want to put it on live mode I mean so what is the difference between test mode and live mode when you use the test mode, the credit card the credit card details that you will enter will not be charged basically and live mode so basically whatever the credit card details will be entered will be charged okay put it on test mode for the purpose for the tutorial purposes All right. Now scroll down stripe payment enable stripe over you enable title pay via credit, debit card, okay secure payment wire.
Credit, debit card. All right, order button text. Pay now. We know, okay, preferred card, whatever these are capture payment, okay? restrict card No, enable transaction recept if you want to. Alright, now go back up again.
And we need that test, publishable key and the test secret key. Now to get that go to your stripe dashboard. Alright, then go to developers. And here, go to API keys. Alright, and you can see now it is on the test mode. You ain't test API keys toggle, to view live keys, so you can toggle from here.
Alright, so let me just get the test keys and the publishable key is this one. It will copy it. Copy and Start here. Alright. And the secret key, so reveal secret key, copy this one and paste it here. Okay, scroll down and save.
Alright, so guys, that's how you add stripe payment gateway to your website. Now let's go back to payments here if you want to enable cash on delivery you can do so from here you can just toggle this then go to setup. Alright, enable cash on delivery title, cash on delivery, whatever description instructions whatever enable for shipping methods now what is this? Remember in the last video in the previous video, we made one shipping method for USA. So what this means is whenever this shipping method is selected, cash on delivery option will be available. All right.
So save changes. Okay now let's go back if you To add PayPal you can do so by enabling these and going to your PayPal account and getting the keys and pasting them here. All right. So that will be all for this video and I'll see you in the next one. Bye