Do you want to accept Google Pay on your WordPress website?
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 explain how to accept Google Pay in WordPress.
Why use Google Pay as a payment method in WordPress?
If you sell products or services on your WordPress website or request donations, it’s essential to let your visitors pay using their preferred method. While credit cards and PayPal are commonly used, newer methods like Google Pay and Apple Pay have become more popular.
Google Pay is available in 40 countries worldwide and makes online payments easy. However, your customers can only use it if they have an Android device running Lollipop 5.0 or higher. Therefore, you may want to include additional payment options for those using other devices.
Let’s take a look at how to accept Google Pay in your online store.
How to accept Google Pay in WordPress:
WP Simple Pay is a simple yet powerful plugin for invoicing and payments in WordPress. The best part is that WP Simple Pay doesn’t impose any additional transaction fees, and you can set it up without a complicated shopping cart system.
It allows you to add Apple Pay, Google Pay, credit card, and ACH bank payments, giving users multiple payment options to improve conversions.
Although there is a free version of the plugin, you need the Pro version to accept Google Pay, create payment forms on your site, and more.
Upon activation, the WP Simple Pay setup wizard will start automatically. Just click on the “Let’s get started” button to proceed.
On the first page, you will be asked to enter your license switch. You can find this information from your account on the WP Simple Pay website.
Next, you need to click the “Activating and Follow -up” button to move 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 the easiest way to add Google Pay to your website. It also supports all major credit and debit cards, Apple Pay, ACH bank payments, and more.
Simply click on the “Connect with Stripe” button, and from there, you can log in to your Stripe account or create a new one. Anyone with a legitimate business can create a Stripe account and start accepting payments online.
Stripe requires your website to use SSL/HTTPS encryption. If you don’t already have an SSL certificate for your website, please refer to our step-by-step guide on how to add SSL in WordPress.
Once connected to Stripe, you will be asked to configure the email messages for WP Simple Pay.
Email options for payment and invoice notifications to your customers have already been enabled. This includes the option to send email notifications for payment alerts.
You just need to enter the email address to which the notifications should be sent.
Once you do this, you need to click the “Save and follow” button to complete the WP Simple Pay set.
Google Pay is enabled by default when using Stripe Checkout, and it will be automatically presented to Android users in supported countries.
If you decide to disable Google Pay in the future, you will need to change the payment method settings in the Stripe Dashboard.
Creating a Payment Form in WordPress
Next, you need to create a payment form.
You can do this by clicking on 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.
You will see a list of payment form templates. You need to scroll down until you locate the template for Apple Pay / Google Pay.
Simply hover your mouse pointer over the form and click the “Use Form” button when it appears.
This will take you to the payment model editor.
If you like it, you can rename the form and give it a description. Next, you need to select the “Stripe Checkout” option within the type of form.
After doing that, we will move to the Payment tab.
Here, you can set the payment mode to “Live” or “Test.” Test mode allows you to make payments that are not actually processed, so you can ensure that your form is functioning correctly and email notifications are being sent.
Don’t forget to change this to “Live” once you finish testing and are ready to start receiving payments from your customers.
You can also add the products or services you offer, along with their prices and whether they are one-time payments or subscriptions.
Simply click on the “Add Price” button to add as many prices as you need.
Then, you will need to add a label and price for each of them. You can also specify other options, such as recurring payments, or let the user choose the price, as in the case of donations.
You can show or hide the price by clicking on the small arrow located on the right.
Next, we will move to the “Form Fields” tab.
Note that the basic fields have already been added to the form, including the “Apple Pay / Google Pay” button, credit card details, and the checkout button.
Using the “drop -down menu” , you can choose additional fields and add them by clicking on the “Add Field” button. These options include name, phone number, address, and much more.
Finally, the “Stripe Checkout” tab allows you to select additional payment methods and customize the checkout form that appears after the user clicks the “Pay” button.
In this tutorial, we will leave these settings as they are.
when you are satisfied with your payment form, click on the “Publish” button to save your settings and publish the form.
Now, we can add the form to a post or page on your website.
Adding the Payment Form to Your Website
WP Simple Pay makes it very easy to add forms anywhere on your website.
Simply create a new post or page, or edit an existing one. Then, click on the plus sign (+) at the top and add the WP Simple Pay block in the WordPress block editor.
Next, select your application form from the drop -down menu in the WP Simple Pay block.
Once you are finished, you can update or post the post or page, then click the inspection button to see your form while working.
When users click on the “Pay” button, they will be presented with the Stripe payment form.
If they are using an Android device running Lollipop 5.0 or higher, the Google Pay option will be displayed at the top of the form. Otherwise, the Google Pay option will be hidden, and your customers can make the payment using their credit card.
We hope this tutorial will help you learn how to accept Google Pay in WordPress.