Get 10% off entire order over $299! 15% over $499 !

[Opencart] WeChat H5 Pay/JSAPI

[Opencart] WeChat H5 Pay/JSAPI
[Opencart] WeChat H5 Pay/JSAPI [Opencart] WeChat H5 Pay/JSAPI [Opencart] WeChat H5 Pay/JSAPI
Price: $69.00

Available Options



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. 

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 modifies opencart3 embedded WeChat Pay module with WeChat H5 Payment API and JSAPI added. After installation, it will auto call H5 payment API and JSAPI based on customers' browser. 

Before using this payment module, you have to register Wechat Official Account and Wechat pay Merchant Account on Wechat pay official site to get all necessary info after submit application documents and get approved by WeChat pay (Extra fee may be charged by China WeChat pay)


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 in 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 non-wechat browsers to call wechat payment module via H5 Payment API to pay their transaction.
Merchants are required to have h5 website which have already finished ICP filing. 



  1. Integrate WeChat Pay JSAPI
  2. Integrate WeChat Pay H5 Payment API
  3. Need to register WeChat Official Account and WeChat Pay Merchant Account by submitting application form on WeChat pay official site (Extra fee may be charged by WeChat pay) 


No configuration for WeChat Pay H5 Pay and JSAPI  in backend. After installation, it will auto call H5 payment API and JSAPI based on customers' browser. 


Additional Information:

Support Opencart 3.x OCMOD




-Install our module in admin->extensions->installer
-Refresh modification cache after install.
-Enable our module in module list
Note: This module only supports Opencart 3.x ocmod. 

For JSAPI configuration in WeChat official account, payment authorization catalog requires full path: