[Opencart] WeChat Pay

[Opencart] WeChat Pay
[Opencart] WeChat Pay [Opencart] WeChat Pay [Opencart] WeChat Pay
Price: $69.00

Available Options


Extension Update:



WeChat is 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. 


SunflowerBiz WeChat Pay Extension integrates the WeChat Pay JSAPI and H5 Payment API. Opencart 3.x offers a default WeChat Pay extension but only supports QR Code Payment API in PC browsers. After installing our extension, customers can make the payment by calling the WeChat Pay app directly in WeChat and mobile browsers. 



Please register a Wechat pay Merchant Account on Wechat's Merchant Platform and request WeChat Pay API.


1)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


2)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. 





  1. Integrate WeChat Pay JSAPI.
  2. Integrate WeChat Pay H5 Payment API.
  3. You need to register the WeChat Official Account and WeChat Pay Merchant Account by submitting an application form on the WeChat Pay official site. (WeChat pay may charge an extra fee.) 


Configure the WeChat Pay extension  in backend:



App ID, APP Secrect, API secret, Merchant ID are provided by the Wechat Pay official site




Additional Information:

Support Opencart 3.x OCMOD

Questions/support: info@sunflowerbiz.com



-Install our module in admin->extensions->installer.
-Refresh theme and modification cache after installation.
-Enable our module in the module list.
-Configure the WeChat Pay extension by entering Merchant ID, App ID, App Secret, API Secret that are provided by Wechat Pay official site
-Configure your WeChat official account following the instructions here.
Note: payment authorization catalog requires full path: http://www.yourdomain.com/index.php?route=extension/payment/wechat_pay/qrcode

This module only supports Opencart 3.x ocmod. 

Online Support