Now I have two thoughts. You have to create an e-commerce website now this in this article I’ll show you how you can accept the payment on your own website, because if earlier we were using PayPal in PayPal, what happens is when the user or the customer wants to make payment? They have to go to PayPal to make the payment, but today I’ll show you how you can accept payment on your own website.
Okay, so the user can make payment through credit card or debit card on your own website. They don’t have to go to some third party website. First, let’s understand the difference and let’s use this website as a demo. App. Sorry, if you don’t know how to create this ecommerce website, if you are interested in how to create a ecommerce website from scratch you very easily, then there is a link given in the article description below you can follow that link.
I have thought you know in detail, for, for there is a four hour long tutorial you can read that tutorial. You’ll learn everything from scratch: how to create an e-commerce website. Okay, now let me go to the shop page. So, let’s add some product in our card. For example, suppose you want to add this thing this helmet? How are this and click on Add to Cart now, as you can see, we have something in add in our cart.
So let’s click on View cart. So this is the product in our cart. Now, if you want to make payment, what do you do? You click on proceed to checkout and we have this PayPal option over here. So now, let’s see this is the website on which we are nitro, dot, Nisha, calm, and when we want to make payment through PayPal, we select PayPal. We click on proceed to PayPal. Now, as you can see, it has redirected me to paypal.
Com not on my website. Even if I want to make payment through credit card or debit card, I will have to use PayPal. Ok, now I don’t say: PayPal is bad or something like that. Paypal is really really amazing. I personally use it, but the thing is now: oh, this thing doesn’t work. Ok, if you’re creating our e-commerce website, you should you have some better option. That is what I am showing you today.
Ok now, this is what happens when you use PayPal. Now, let’s come back, let’s come back again now, instead of PayPal, you can use stripe okay. Now, when you use stripe, as you can see, if we have the credit card details over here, the user can put in that credit card or debit card details over here. Okay, this is just demo card. Okay, so don’t use this card and they can put all this information over here and click on place order.
Okay, it is taking some time, it is analyzing it. As you can see. Thank you. Your order has been received, so we, the user or the you have already received an order. Okay, the the customer didn’t have to go to some third party website to make the payment now today I’ll show you how you can set up this thing so to do so. Come back to your dashboard now to use this thing first, we need a plug-in called stripe.
So, from the left hand side you will see this plugins how our plugins and click on add new. Now, in the search plug-in the stripe in stripe as STR IPE now, when you do, when you do so, you get many different plugins called stripe. Now the one which you have to install is this one: Moo commerce, stripe payment gateway by mu commerce. Ok, it has got around 300,000 active installs, so this is the one that you have to install so here, you’ll get one button like this install now.
Click on that Install Now button then activate this plug-in. Okay, once you activate this plug-in from the left hand, side how our commerce and click on settings now click on checkout. Now you should see one more option over here called stripe like this one. Here we have stripe. Click on stripe now make sure you take mark this enable stripe and in the title we have credit card or stripe. Now we don’t want this title.
We will just use credit card or debit card. Ok, ok, pay with your credit card wire stripe. So again, we don’t need good, while stripe just type in pay with your credit card or debit card. Now I have enabled test mode because I don’t want to make any real payment. So if you, let me show you how to set this thing. First, go to strike calm and make a free account. It is really easy and very simple to create an account.
I have already done that. As you can see, I have made one hundred and fifty dollars sale. This is obviously test sale. So what I’ll do now? I will go to developers and under developers you have API keys. Now, I’m at present. As I said you I’m using the test mode, I’m not using the live mode. That’s why I am getting this thing over here. So when I click on this, I have publishable key and secret key so copy.
This publishable key from here come back to your website and paste it over here, after that, we have secret key copied from here and paste it over here. Okay, now, after that, I don’t have to do anything, just click on Save Changes and once your website is life, make sure you first activate your account. Okay, how you do that, however, this and click on this link, which says activate to your account and follow the process? Okay, this is only for you know when you are in the production stages and you still want to check whether everything is working, fine or not, but when your website is live, first, activate your account.
I am doing this because I don’t want to make any real payment. Okay, I just want to show you guys so once you do so, you will have this option. Let’s come back, okay, okay, we don’t have anything because we have made a successful payment. Let’s try again, let’s try this. Let’s add this thing to cart. Let’s add this product as well, so we have two products in our cart. Let’s cut this thing when I hover this, as you can see, we have two products.
Let’s click on checkout now, as you can see, it doesn’t say stripe. Now it is saying credit card or debit card. Now we can just enter your debit card details. In fact, this is just a demo card number. You can use this card number. 4. 4. 4. All this for 2 and after that, you can put any month expiry date any month and any year and any CVC number and click on place order. Ok, the order amount was 2834, as you can see over here.
As you can see the total among 2834 pumps, the order is made. We have all these details over here now when you come back to this website and go to your home page. As you can see, my balance has now gone to $ 4,000 and I can see that we have made six successful payments and if you want to see this thing in detail, you can click on developers and click on events. Now you can see the successful payment was made for two thousand eight hundred and thirty four dollars.
Okay, so this is how we accept debit card and credit card payment on your website. I hope this short tutorial was helpful for you guys if it was helpful, then make sure you subscribe to my blog and also click on that Pelican, so that you don’t miss any future articles. If you have any doubt any queries, any questions for me leave them in the comment section below thanks a lot for reading guys see you soon.