With over 1 billion active users, Alipay is one of the most popular digital wallets in China.
Accepting Alipay payments on your WordPress site means you open the door to a broader audience, potentially increasing your sales.
At WPBeginner, we’ve seen firsthand how adding new payment methods can significantly boost sales by helping you reach a massive new audience.
In this article, we will explain how to accept Alipay payments in WordPress. That way, you can tap into a large market of users who prefer using this payment method.
Why Should You Accept Alipay Payments in WordPress?
Alipay is a payment app that allows users to send and receive money online. It’s a dominant player in the Chinese market and is now gaining popularity in Singapore, Malaysia, Hong Kong, and across the world.
It’s also not just used by international users.
Many domestic dropshipping stores that buy products wholesale use Alipay as well. That’s because Alipay is the primary payment method for Alibaba and AliExpress, which are 2 eCommerce giants.
Now, Alipay has over a billion users. So, by accepting Alipay, you’re opening the doors to a huge audience, particularly those in China. This market is eager to buy, and by making it easier for them, you’re setting yourself up for success.
More payment options mean more sales. It’s as simple as that.
When customers see their preferred payment method at checkout, they’re more likely to complete their purchase. As a result, you’re reducing friction and making it a no-brainer for Alipay users to hit that ‘Buy Now’ button.
With that in mind, we’ll share 2 ways you can accept Alipay payments. You can use our links to jump to skip ahead to the method you prefer:
Ready? Let’s get started.
Method 1: Easily Collect Alipay Payments With WP Simple Pay (Recommended)
For this method, we will use WP Simple Pay, which is the best Stripe payment plugin on the market. With this plugin, you can accept payments without needing to set up any complicated APIs on your site.
WP Simple Pay integrates into Stripe’s payment options, which allows businesses using Stripe to accept payments from customers who want to pay with Alipay.
The good news is you can use WP Simple Pay Lite since it can accept Alipay payments. Best of all, it’s 100% free.
Note: You will need WP Simple Pay Pro for access to the Alipay payments form. With the free version, you can only create an Alipay payment button to add to your pages. Also, you won’t be able to build on-site payment forms without the paid plan.
For most businesses, we recommend WP Simple Pay Pro. This paid version accepts 10+ payment methods and offers recurring payments, buy now, pay later plans, and an advanced form builder.
For this tutorial, we’ll use the Pro plan so that we can build a payment form to accept Alipay payments. The process is the same with the free plan, but you will have access to fewer features.
Step 1: Install and Activate WP Simple Pay
To begin, you’ll need to install and activate the WP Simple Pay plugin. If you need help, read our tutorial on how to install a WordPress plugin.
Upon activation, the plugin will automatically launch the WP Simple Pay setup wizard. You’ll need to click on the ‘Let’s Get Started’ button.
Step 2: Complete the Setup Wizard
You’ll be taken to the next step in the process.
From there, you’ll have to create a new Stripe account or connect to an existing one. Let’s click the ‘Connect with Stripe’ button to move to the next screen.
Assuming you already have a Stripe account, you can type in your email address and click the ‘Continue’ button.
It will integrate your Stripe data into your site. That way, all of the payments you receive will go to your Stripe account.
From here, you’ll be prompted to select your Stripe account.
Then hit ‘Connect.’ You can also choose to create a new account instead.
Step 3: Create a Form to Accept Alipay Payments
Once you’ve connected your Stripe account, you will need to create a payment form.
Go ahead and click the ‘Create a Payment Form’ button.
You will land on a template library, where you can choose from many pre-built templates for your form.
Next, you’ll want to look for the ‘Alipay Payment Form’ and click on ‘Use Template.’
As soon as you choose the template, you will be taken to an intuitive drag-and-drop builder.
You will also be prompted to configure the General settings, where you can customize the title, description, form type, and more.
There are also options to add a CAPTCHA and email verification button to prevent fake orders.
If you go to the ‘Confirmation Page’ tab, you can configure where you direct users when they complete the form.
By default, WP Simple Pay will show a custom success page when a customer makes a payment.
But you can select ‘Custom Page’ if you’d like to show a different page hosted on your WordPress site. This is a great opportunity to send them to a thank you page and even upsell them on more products or services.
Or, if you prefer to redirect customers to an external page, you can select ‘External URL.’ You can also add a ‘Payment Success Message’ to thank customers and tell them what they can expect from you next.
After that, let’s switch to the ‘Payment’ tab on the left.
This is where you will set the ‘Default Price.’
Under ‘Payment Methods,’ be sure to check off the box next to Alipay to begin accepting Alipay payments on your site.
You can also choose other payment methods, such as a Card or ACH direct deposit. If you have WP Simple Pay Pro, you will have full access to 13 payment methods, including Apple Pay, Google Pay, Afterpay, Klarna, Cashapp, and more.
Then, you can go to the ‘Form Fields’ tab on the left to add or change any existing form fields.
All you need to do is hit the dropdown menu under ‘Form Fields’ and click ‘Add Field.’
You have plenty of options to choose from, such as phone, address, coupon, and more.
Step 4: Publish Your Alipay Form
Once your form is ready to go, make sure to save your changes.
Next up, you are ready to publish and embed your Alipay payments form on your site. Go ahead and click the ‘Publish’ button on the right side.
Now, you will need to embed the form in your WordPress website.
Just go to the post or page where you want to include your form. This could be a services page, a product page, or anywhere else.
On the top left corner, you can hit the ‘+’ button.
Then, simply search for the ‘WP Simple Pay’ block and add it to your page.
You’ll see the block appear in the block editor.
In the dropdown menu, you can select the Alipay payment form you’ve just created.
With that done, you should see the form embedded into your page.
Finally, go ahead and hit ‘Publish’ or ‘Update.’
There you have it! Now you know how to easily collect Alipay payments on your WordPress site.
Don’t forget to test the form to ensure payments are going through.
Here’s an example of what the form should look like:
Method 2: Accept WooCommerce Alipay Payments With Stripe Payment Gateway Plugin
If you run a WooCommerce store, then you may want to use a payment plugin instead. While you can add a WP Simple Pay button or form to your product pages, it may not embed into the form as seamlessly.
With a WooCommerce plugin, Alipay will integrate smoothly into the payment page as a checkbox that customers can tick off during the checkout process.
Step 1: Install the WooCommerce Stripe Plugin
To get started, you will need to download the free WooCommerce Stripe plugin. This plugin will redirect users to the Alipay payment page, where they can log in and authorize the payment.
So, let’s go to the WooCommerce Stripe plugin page and click on ‘Free Download.’
From here, you will be directed to the cart page.
Check that the order details are correct and hit ‘Proceed to Checkout.’
You’ll be taken to the checkout page. All you need to do is enter your name and email address.
After that, just click on the ‘Pay $0.00’ button.
You’ll be directed to the thank you page.
Just click the ‘Download’ button to save the plugin files to your computer.
The next step is to install the WooCommerce Stripe plugin by uploading it to WordPress. If you need help, you can follow our step-by-step guide on how to install a WordPress plugin.
Step 2: Enable Alipay in WooCommerce
Upon activation, let’s head over to WooCommerce » Settings in your WordPress dashboard. Then go ahead and navigate to the ‘Payments’ tab.
If you scroll down the page, you will find ‘Stripe Alipay’ as a payment method.
Simply toggle on the button to enable Alipay for your WooCommerce site. Then, you can click on ‘Save changes’ at the bottom.
After that, go ahead and click ‘Finish set up’ next to the Alipay option.
Step 3: Add Your Stripe Account
You will now be asked to integrate your Stripe account.
To get started, you can hit the ‘Create or connect an account button’ to add your Stripe account to WooCommerce.
Then, you can choose your Stripe account and click ‘Connect.’
If you don’t have a Stripe account yet, then you can select ‘Create a new account.’
Step 4: Activate Alipay
Now, your Stripe account is fully connected to your online store.
To activate Alipay, you will need to go back to the ‘Payments’ tab. Then, next to the ‘Stripe Alipay’ method, let’s click on ‘Manage.’
This is where you can configure the Alipay settings, such as the name and description that appear on your checkout page.
Go ahead and click the ‘Activate in your Stripe Dashboard’ link.
You will be directed to your Stripe account’s payment method tab in the settings.
From here, you’ll want to scroll down to find ‘Alipay,’ and next to it, click on ‘Request access.’
You’ll then see a popup message asking if you want to activate Alipay payments.
Simply hit the ‘Continue’ button to accept Alipay payments in your WooCommerce store.
After you’ve requested access, you need to wait for Stripe to approve your account. It might take about 1-2 business days before you can begin accepting Alipay payments.
Once approved, you might want to check your email, where Stripe lets you know that Alipay has been activated for your Stripe account.
On top of that, you will want to go to your Stripe account’s payment methods and make sure it doesn’t say ‘Pending’ next to Alipay.
Otherwise, you’ll have to wait until Stripe approves your request.
Now, all you need to do is check that the Alipay method appears at checkout for your customers.
You can go to any product page and go through the checkout progress. Under the order summary, you should see an option for customers to pay with Alipay.
Customers should be sent directly to the Alipay login page when they place an order. There, they can log in to their Alipay account and finalize their payment.
Then, the money goes straight into your Stripe account through the integration.
There you have it! Now, you are ready to accept Alipay payments in your WooCommerce store.
Related: We also recommend adding other WooCommerce payment gateways, such as PayPal and Square, to give customers more options to choose from.
We hope this article helped you learn how to accept Alipay payments in WordPress. You may also want to see our guide on how to easily accept credit card payments in WordPress and our picks for the must-have WordPress plugins and tools for business sites.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Jiří Vaněk
Can alypay payment be used for donate as well as Paypal? I am looking for an alternative that will be available for other countries as well. I have been looking at google analytics, I have quite good traffic from Asian countries and I would like to have this option there. What about Alipay fees then? PayPal has relatively high fees of around 5%, which takes a big bite out of the donation, which is not entirely optimal for this purpose.
WPBeginner Support
You would need to check with Alipay’s support for their current fee and donation availability.
Admin
Jiří Vaněk
The fee is currently around 2.9%, which is still quite good. It’s not as much as I expected. Otherwise, from what I’ve seen, if other readers are interested, it’s no problem to accept payments as donations for website owners as well.
THANKGOD JONATHAN
If I am a Freelancer and not a store owner can I use Alipay as an alternative for PayPal? Paypal is not fully available in our zone.
WPBeginner Support
If we understand correctly, you should be able to set that payment up for your uses.
Admin
Konrad
Thank you for the insight into this matter. I encountered challenges with Alipay and other China services on a different case, but this solution came in handy.
WPBeginner Support
Glad our article was helpful and thank you for sharing that you had trouble with them previously.
Admin
Ralph
This is great detailed guide even for such a novice blogger like me. I wouldn’t want another plugin, but you guys always take care of us and give us alternatives. Good to know I can accept alipay with stripe plugin as I already use it anyway
Syed Balkhi
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!