Would you like to accept Google Pay on your WordPress site?
When you allow your customers to choose their preferred payment method, you build trust and increase conversions on your website.
In this article, we will show you how to accept Google Pay in WordPress.
Why accept Google Pay in WordPress?
If you’re selling products or services on your WordPress website or asking for donations, it’s important to let your visitors pay using their preferred method.
Often they will want to pay by credit card or PayPal, but new methods like Google Pay and Apple Pay are becoming increasingly popular.
Google Pay is available in 40 countries around the world and simplifies online payments. However, your customers can only use it if they are using an Android device running Lollipop version 5.0 or above. So you’ll probably want to include additional payment options for people using other devices.
That being said, let’s see how to accept Google Pay in your online store.
To note: We’ll cover how to add a Google Pay option in WordPress without adding a full eCommerce shopping cart, but we’ll leave other useful resources at the end of this article for those looking for full eCommerce solutions.
How to Accept Google Pay in WordPress
The first thing to do is to install and activate the Simple payment WP connect. For more details, see our step-by-step guide on how to install a WordPress plugin.
WP Simple Pay is a simple yet powerful WordPress billing and payment plugin. The best part is that WP Simple Pay doesn’t charge you any additional transaction fees and you can set it up without the complexity of a shopping cart system.
It lets you add Apple Pay, Google Pay, credit card as well as ACH bank payments, so you can offer users multiple payment options that improve conversion.
While there is a free version of the plugin, you need the Pro plugin to accept Google Pay, create onsite payment forms, etc.
Upon activation, the WP Simple Pay setup wizard will start automatically. Just click the “Let’s Get Started” button to continue.
On the first page, you will be asked to enter your license key. You can find this information from your account on the WP Simple Pay website.
After that, you need to click on the “Activate and Continue” button to proceed to the next step.
On the second page, you will need to connect WP Simple Pay to Stripe. Stripe is a popular payment gateway, and it’s the easiest way to add Google Pay to your website. It also supports all major credit and debit cards, Apple Pay, ACH payments, and more.
Just click on the “Sign in with Stripe” button, and from there you can sign in to your Stripe account or create a new one. Anyone with a legitimate business can create a Stripe account and accept payments online.
To note: Stripe requires your site to use SSL/HTTPS encryption. If you don’t yet have an SSL certificate for your website, please see our step-by-step guide on how to add SSL in WordPress.
Once logged in to Stripe, you will be asked to configure your WP Simple Pay emails.
The options for payment and billing emails to your customers have already been activated for you. The same goes for the option to send payment notification emails.
All you need to do is enter the email address to which notifications should be sent.
Once you have done this, you need to click on the “Save and Continue” button to complete the setup of WP Simple Pay.
Google Pay is enabled by default when using Stripe Checkout and will automatically be offered to Android users in participating countries.
If you decide to disable Google Pay in the future, you’ll need to change the payment method settings in the Stripe dashboard.
Create a payment form in WordPress
Next, you need to create a payment form.
You can do this by clicking the “Create payment form” button on the last page of the setup wizard. This will automatically take you to WP Simple Pay » Add New page.
A list of payment form templates will appear. You need to scroll down until you find the Apple Pay / Google Pay model.
Simply hover over the template and click the “Use Template” button when it appears.
This will take you to the payment form editor.
If you wish, you can rename the form and give it a description. After that, you need to select the ‘Stripe Checkout’ option under Form Type.
After that, we will move to the Payment tab.
Here you can set the payment method live or test. Test mode will allow you to make payments that aren’t actually charged so you can make sure your form is working properly and emails are sending.
Remember to change this to “Live” when you’re done testing and ready to start receiving payments from your customers.
You can also add the products or services you offer, along with their prices and whether it’s a one-time payment or a subscription.
Simply click the “Add Price” button until you have added as many prices as needed. After that, you will need to add a label and a price for each. You can also select other options, such as recurring payments, or the user can determine the price, such as in the case of a donation.
You can show or hide a price by clicking on the small arrow on the right.
Next, we’ll move on to the “Form Fields” tab. Note that essential fields have already been added to the form, including an “Apple Pay / Google Pay” button, credit card details, and a payment button.
Using the “Form Fields” drop-down menu, you can choose additional fields and add them by clicking the “Add Field” button. Options include name, phone number, address and more.
Finally, the “Stripe Checkout” tab allows you to select additional payment methods and change the payment form that is displayed after the user clicks the “Pay” button.
For this tutorial, we’ll leave these settings as they are.
When you’re happy with your payment form, click the “Publish” button to save your settings and put the form online.
We can now add the form to a post or page on your website.
Adding the payment form to your website
WP Simple Pay makes it easy to add forms anywhere on your website.
Simply create a new post or page, or edit an existing one. Next, click the plus sign (+) at the top and add a WP Simple Pay block in the WordPress block editor.
After that, select your order form from the drop-down menu of the WP Simple Pay block.
Once you’re done, you can update or publish the post or page, then click the preview button to see your form in action.
When your users click the Pay button, the Stripe payment form appears.
If they are using an Android device running Lollipop 5.0 or later, the Google Pay option will appear at the top of the form. Otherwise, the Google Pay option will be hidden and your customers can pay by credit card.
If you are looking for other ways to add Google Pay in WordPress, you can use comprehensive eCommerce solutions like Easy digital downloads or WooCommerce. Both support Apple Pay and Google Pay options.
We hope this tutorial helped you learn how to accept Google Pay in WordPress. You might also want to learn the right way to create an email newsletter, or check out our expert pick of the best contact form plugins for WordPress.