Hello, guys, I am Shahzad Ahmed and welcome to lesson number 24 days we are going to add the payment gateway, which is a PayPal. So how can you add the PayPal option in your store. So first of all, you go to your product, and you have added one iPhone six plus this product in your cart. So checkout Proceed to Checkout. So now as you can see you have only one option cash on delivery while showing cash on delivery. So go to your WooCommerce settings and your payment.
So as you can see, you have your cash on delivery by default, it's activated. So what you need to just need to activate the PayPal options. So how can you do that? First of all set up you have some before adding your PayPal account what you need, just need to add the live API username live API password and live API signature. So how can You do that. So you have your PayPal standard, you have PayPal sandbox.
So what is sandbox? You can check the PayPal, either it's working or not. So copy. This involves PayPal. So go to your PayPal. So this is a sandbox.
It's for developers. Login with your sandbox, and you can test so don't worry we can we will do that in our next lectures. So go to your PayPal. Login with your account. Provide your email and password. So go to your tools, my tools API credentials and find your API integration classic options.
You or your developer integrate. And we saw or classic API that allows you to accept him in via PayPal. Okay, so manage API, I have already created the API. So as you can see, I have username, password and signature. So I'm not going to show these my credentials. So then, or remove this one, and you can create from the scratch.
Once you create the username, password and signature. Then just click on the show show button and copy that content from username. And you have to put this username here. First of all, this username, API username And your password goes here, and your signature. So as you can see you have optional signature is optional, but you can also add your signature while activating or while enabling your payment option which is a PayPal. So in this way you can add the PayPal options, sign copying.
So I have added and this is my API password. And this is my signature. why I've added refresh. So now go to a checkout page, refresh the page. So as you can see Okay, so activate your also activate your PayPal option Save. Now go to your page, refresh the page.
So as you can see now you have your PayPal options, hit the PayPal options and proceed to checkout first of all particles. Okay blink phone is required with the phone here's the phone. Okay, so Proceed to Checkout. So now as you can see yours redirecting from your site to paypal account so your client can insert or add the PayPal so as you can see, we are saying 402 US dollars or cancel the order returned to Shakthi Okay, so now as you can see, I have just cancelled the order. So In this way you can add the PayPal payment gateway in your shop. So I think this is enough for today.
Thank you for watching.