WPKJ Payment Gateway for FluentCart with Wechat
WPKJ Payment Gateway for FluentCart with Wechat is an enterprise-grade payment gateway that seamlessly integrates WeChat Pay with FluentCart. It intelligently detects user environments and automatically selects the optimal payment interface.
Key Features
-
Multi-Platform Payment Support – Native Payment for PC desktop with QR codes – H5 Payment for mobile browsers – JSAPI Payment for WeChat in-app browsers [Not yet completed] – Intelligent client detection
-
Subscription Management – Manual renewal mode for subscription payments – Trial period support (0-365 days) – Flexible billing intervals (daily, weekly, monthly, yearly) – Subscription cancellation sync with orders (configurable) – Automatic status tracking
-
Comprehensive Refund System – Automatic refunds when orders are cancelled – Manual refund processing from admin [Not yet completed] – Full and partial refund support [Not yet completed] – Requires SSL certificates – Detailed activity logging
-
Enterprise Security – Dual signature support (MD5 and HMAC-SHA256) – Signature verification for all requests – SSL/HTTPS required – Webhook validation – Amount verification – Secure API communication
-
Developer Friendly – Clean PSR-4 autoloading architecture – Comprehensive hooks and filters – Debug logging support – Payment status polling – Extensive documentation
Important Notes
WeChat Pay does NOT provide a public sandbox environment. Testing must be done in production with small amounts (e.g., ¥0.01).
WeChat Pay does NOT support automatic recurring payments. Each subscription renewal requires manual customer payment.
Supported Payment Methods
- Native Payment (PC QR Code)
- H5 Payment (Mobile)
- JSAPI Payment (WeChat Browser) [Not yet completed]
Requirements
- FluentCart 1.2.0 or higher
- WordPress 6.5 or higher
- PHP 8.2 or higher
- SSL Certificate (HTTPS) required
- WeChat Pay merchant account
Architecture
Built on the proven architecture of WPKJ FluentCart Alipay Payment plugin with 65%+ code reusability, ensuring reliability and maintainability.
Support and Documentation
For comprehensive documentation, tutorials, and support:
- Official Website: https://www.wpdaxue.com
- Documentation: https://www.wpdaxue.com/wpkj-payment-gateway-for-fluentcart-with-wechat.html
- Support Email: support@wpdaxue.com
Privacy and Data
This plugin does NOT: – Collect any user data – Send data to third parties (except WeChat Pay for payment processing) – Track users – Store sensitive payment information
Payment data is transmitted securely via HTTPS directly to WeChat Pay’s servers. The plugin only stores transaction IDs and order metadata necessary for order fulfillment.
External Services
This plugin relies on external services for payment processing. Below is documentation for each external service:
Wechat Payment Gateway
Service: Wechat Payment Gateway API What it is: Official payment processing service operated by Wechat Pay, a third-party payment service from China. What it’s used for: Process online payments from customers using Wechat accounts Data sent: Order ID, order amount, customer email, payment description/subject, currency, and timeout configuration When it’s sent: When a customer initiates a payment and selects Wechat as the payment method Data sent to: Wechat Pay servers (https://api.mch.weixin.qq.com) WeChat Pay Service Terms: https://pay.weixin.qq.com/static/protocol/protocol_normal_v3.shtml WeChat Pay Privacy Policy: https://pay.weixin.qq.com/static/protocol/protocol_normal_v3.shtml Additional Info: Communication is RSA2 2048-bit encrypted. Wechat Pay returns trade status, transaction ID, and buyer information.
User Consent
Users are informed about Wechat payment processing when they select Wechat as their payment method. They accept data transmission to Wechat’s services as part of the payment process. The Wechat Pay terms and privacy policy are accessible via links above.
Credits
- Developed by: WPDAXUE.COM
- Framework: FluentCart Payment Gateway API
- Contributors: WordPress community
- Special Thanks: FluentCart team for excellent payment framework, and Wechat Pay for their robust payment solution
