This article will teach you how to integrate Stripe payment gateway with a WordPress website.
What is Stripe?
Stripe allows you to check out on your website without using PayPal.
Let’s see it with an example. In the picture attached, I added a product to my cart, and I proceeded to checkout.
I got two options to pay, one with PayPal and the second with a credit/debit card. So this is what Stripe gives you, and it’s pretty easy.
You just put in your card information, i.e., expiry date and the last three digits of the card. That’s a classic checkout page for Stripe, and it’s pretty straightforward.
Many people don’t like to use PayPal, so Stripe allows those.
How to sign up for Stripe?
To sign up for a Stripe account, just head over to stripe.com and set up an account. You can sign up for it, it’s free, but you need to have a bank account to sign up for Stripe.
When you sign up for Stripe, which is pretty free, head over to settings, scroll down to where it says “business settings,” click on “bank accounts and scheduler.” Put in a bank account, and then you can also set your payout schedule.
You can set it to automatic every day, so every day when someone pays you, you can just automatically have cash deposited into your account.
Stripe also introduced another new platform to their software, and it’s called payments for platforms; basically, it’s called connect. If you have clients outside of the United States of America, they can start paying, and you can receive the cash equivalent in your own currency.
Most importantly, another thing you need to set up for your Stripe account is an SSL Padlock. The SSL Padlock is very important; whether you’re selling stuff on your website or not, you always need this.
Google indexes websites that have this, so make sure you get this. You can visit TMDHosting for FREE SSL and SSD Hosting.
How to set up Stripe?
To set up Stripe on your WordPress backend, head over to plugins, click on add new, and in the search plugins, you just type in Stripe. Install the “Woocommerce Stripe Payment Gateway.”
Once you’ve done that, just hover over “Woocommerce” and head over to “settings,” and then click on “payments.” After you’ve done that, you see where it says Stripe, you’re going to see different Stripe options here, so these are just basically variations of Stripe.
Just click on Stripe, click on Manage, and then click on enable Stripe.
Now I have this enabled in test mode. Still, if I disable it, I’m going to take it out of test mode but you’re going to have “live publishable key,” “live secret key,” and “webhook secret,” so head over to Stripe home page you’re going to see get your live API key so make sure you activate your account before you can do it.
Make sure you confirm your email and all of that before you can do it. Once you click on it, you’re going to be able to get your Stripe live key.
For the webhook secret, what you’re going to do is you’re going to see this on the WordPress backend.
You’re going to see this, your domain name/?wc-api=wcms_stripe. Just copy all of it and then head over to “developers” and click on “webhooks.”
Once you click on webhooks, click on “Add endpoint,” and then you just paste it there. Now go on where it says “events to send” and click on and type in “charge,” click on the charge.
It’s going to charge for 13 events and then click on add endpoint, and that’s all you have to do.
After that, click on it and then scroll down where it says “signing secret,” click on “click to reveal,” copy it, and paste it in “webhook secret.”
Mark in all the remaining options and then click on “save changes,” and you are done.
Thank you so much for reading! Please leave a comment below on the payment processor you use on your website.
If you need a website, make sure you head over to successtechservices.com. You can give us a call.
You can also schedule an appointment with us or chat with us. Make sure you subscribe to notifications, so you don’t miss a post.
You can also request a call back if you don’t have time to wait on the phone line. Make sure you share this article if you learned how to integrate Stripe payment gateway with a WordPress website.