[Magento] WeChat Pay

[Magento] WeChat Pay
[Magento] WeChat Pay [Magento] WeChat Pay [Magento] WeChat Pay
Price: $79.00

Available Options


Extension Update:



WeChat is a Chinese social media (instant messaging, commerce, and payment services) mobile application software developed by Tencent. It was first released in 2011, and by 2017 it was one of the largest standalone messaging apps by monthly active users, with over 963 million monthly active users. It is widely known as one of the world's most innovative and versatile app, as well as China's "App For Everything", with numerous unique functions and platforms ranging from 'payment' to 'social media' to 'services' to 'shopping' and more, that are equivalent to multiple Google Play or Apple Store's apps, but merged into one. 

WeChat Pay is a digital wallet service incorporated into WeChat, which allows users to perform mobile payments and send money between contacts. As of March 2016, WeChat Pay has over 300 million users worldwide.

SunflowerBiz WeChat Pay Extension integrates 3 WeChat Pay APIs: 1) QR Code API 2) JSAPI 3) H5 Payment API which allows customers to pay via WeChat Pay in different situations. In the PC device, after customers choose the "WeChat Pay" method in the checkout page, it will display a QR code on the checkout page and customers can scan the QR code to complete their payment using their cell phones. If customers checkout in the WeChat browser like through your WeChat official account, it will call the WeChat app installed in customers' cell phones via JSAPI and customers will complete their payment using the WeChat app. If customers checkout in the mobile browser instead of the WeChat browser, it will call the WeChat app through H5 Pay API for customers to pay via their WeChat app installed on their mobiles. 



Before using this payment module, you have to register a Wechat Official Account and a Wechat pay Merchant Account on Wechat Pay official site to get all necessary info after submitting application documents and getting approved by WeChat pay. WeChat Pay may charge an extra fee.



Note: this module integrates the official Native WeChat Payment API which is designed for local Chinese companies in Mainland China.



 1) QR Code Payment API 

The Vendor generates a transaction QR Code according to the WeChat Payment Protocol, and the Chinese Payer goes to "Scan QR Code" in their WeChat to complete payment. This mode applies to payments made on websites, physical stores, media advertising, or other scenarios.
4 Steps to Pay via QR Code API
  • Use Wechat scan QR Code
  • Confirm Pay 
  • Enter Password
  • Payment successful
2) WeChat Pay JSAPI
The Chinese Payer opens the Vendor's HTML5 pages on their WeChat and calls the WeChat payment module via the JSAPI interface to pay their transaction.
This mode is applicable in the following scenarios:
  • The Chinese Payer enters the Vendor’s official account, and completes their payment on the transaction page;
  • The Chinese Payer’s friend shares the Vendor's payment URL in a chat or Moments, and the payer clicks the link to complete their payment.
  • The Payer scans the payment QR Code displayed within the Vendor’s page and opens it in a browser to complete their payment.
5 Steps to Pay via WeChat Pay JSAPI
  • Subscribe the vendors 
  • Enter password
  • Payment successful
  • Return the vendors page
  • Customer receives message
3)H5 Payment API
The Chinese Payer opens the Vendor's HTML5 pages using mobile browsers to call the WeChat payment module via H5 Payment API to pay their transaction.
Merchants are required to have an h5 website which has already finished ICP filing. 


  • Integrate WeChat Pay QR Code API.
  • Integrate WeChat Pay JSAPI.
  • Integrate WeChat Pay H5 Payment API.
  • You need to register a WeChat Official Account and a WeChat Pay Merchant Account by submitting an application form on the WeChat Pay official site. (WeChat may charge an extra fee.) 


1. System _setting


2. Frontpage


3. Scan QR code to pay



Additional Information:

Support Magento 1.5.x-1.9.x

Support Magento Community and Enterprise Version

Questions/support: info@sunflowerbiz.com



V1.0.6 ---- 09/26/2019
Added H5 Pay API
V1.0.4 ----11/222018
-Fixed qrcode img
-Please disable compilation before install.
-Upload all files to your site.
-Login admin again.
-Refresh cache if you are using magento cache.
-In admin->System->Configuration ->Sales->Payment Methods, enable "WeChat"payment.
Online Support