[Magento2] Swiftpass WeChat Pay

[Magento2] Swiftpass WeChat Pay
[Magento2] Swiftpass WeChat Pay [Magento2] Swiftpass WeChat Pay [Magento2] Swiftpass WeChat Pay
Price: $99.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.

SwiftPass is a leading FinTech company dedicated to providing mobile payment solutions. In 2017, SwiftPass merged with Huafon Microfibre and became the first public listed company in the mobile payment industry (300180.SZ). The standalone valuation now for SwiftPass is more than 10 Billion CNY.

This module integrates the 3rd-party WeChat Pay API provided by SwiftPass which allows your customers to pay via WeChat Pay in the PC, WeChat Pay, and mobile browsers. In the PC browsers, when a customer is trying to pay via WeChat Pay, it will display a QR code with transaction info generated by the WeChat Pay for the customer to scan using the WeChat Pay app installed on his smartphone. In the WeChat browser or the mobile browsers, when a customer is trying to pay via WeChat Pay, it will auto call the WeChat app installed on his smartphone to complete the payment. During the process, the customer will enter his password within the WeChat app on his mobile. The customer's WeChat account and password will not be stored on your Magento store. After the payment, it will auto redirect the customer back to your Magento store, and the order status will auto change to processing on the backend.  


Integrate 3 WeChat Pay APIs:

(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 and also their site has already finished ICP filing. 



  • Customers can pay via WeChat Pay in the PC, WeChat Pay, and mobile browsers.
  • In PC browsers, customers will scan the QR code using the WeChat app installed on their smartphones to make the payment.
  • In WeChat Pay and mobile browsers, it will auto call the WeChat app to make the payment.
  • Customers' WeChat Pay accounts and passwords will not be stored on your Magento store.
  • Integrate WeChat Pay QR Code API
  • Integrate WeChat Pay JSAPI
  • Integrate H5 Payment API
  • PCI compliance.



1. System _setting

2. Frontpage

3. Scan QR code to Pay



Additional Information:

Support Magento 2.x

Support Magento Community and Enterprise Version

Questions/support: info@sunflowerbiz.com



-From your base Magento2 directory -> app -> code (you may have to create this directory)
 Copy the Sunflowerbiz directory from this repository to your app/code directory. 
-From the base Magento2 directory
 Upload 'Wepayez' directory to 'app/code/Sunflowerbiz' directory of your Magento installation
-Enable the module running the following commands on the root of your Magento installation:
bin/magento module:enable --clear-static-content Sunflowerbiz_Wepayez
bin/magento setup:upgrade
bin/magento setup:static-content:deploy
Note: Payment authorization catalog requires full path: https://yoursitedomain/sunwepayez/payment/redirect/
Online Support