
內容簡介
**WPKJ Payment Gateway for FluentCart with Wechat 是一個企業級支付網關,可以與 FluentCart 無縫集成 WeChat Pay。它智能地偵測用戶環境,並自動選擇最佳的支付界面。**
1. 這款外掛的主要功能有哪些?
- 多平台支付支援
- PC 桌面原生支付,使用 QR 碼
- 行動瀏覽器 H5 支付
- 微信應用內瀏覽器的 JSAPI 支付(尚未完成)
- 智能客戶端檢測
- 訂閱管理
- 手動續訂模式的訂閱支付
- 試用期支援(0-365 天)
- 彈性的付款間隔(每日、每週、每月、每年)
- 訂閱取消與訂單同步(可配置)
- 自動狀態追踪
- 全面的退款系統
- 訂單取消時自動退款
- 後台手動處理退款(尚未完成)
- 完整和部分退款支援(尚未完成)
- 需要 SSL 憑證
- 詳細的活動記錄
- 企業安全性
- 雙簽名支援(MD5 和 HMAC-SHA256)
- 對所有請求進行簽名驗證
- 需要 SSL/HTTPS
- Webhook 驗證
- 金額驗證
- 安全的 API 通信
- 開發者友好
- Clean PSR-4 自動載入架構
- 全面的鈎子和過濾器
- 調試日誌支援
- 付款狀態輪詢
- 詳盡的文檔
2. WeChat Pay 有哪些重要注意事項?
- WeChat Pay 不提供公共沙箱環境,必須在生產環境進行測試,並使用小金額(例如 ¥0.01)。
- WeChat Pay 不支援自動定期付款。每次訂閱續訂都需要手動客戶支付。
3. 該支付網關支援哪些支付方法?
- 原生支付(PC QR 碼)
- H5 支付(行動)
- JSAPI 支付(微信瀏覽器)(尚未完成)
4. 這個外掛的系統需求是什麼?
- FluentCart 1.2.0 或更高版本
- WordPress 6.5 或更高版本
- PHP 8.2 或更高版本
- 需要 SSL 憑證(HTTPS)
- WeChat Pay 商戶帳戶
5. 這款外掛的架構基於什麼?
- 基於 WPKJ FluentCart Alipay Payment 外掛的成熟架構,具有 65% 以上的代碼重複使用率,確保可靠。
外掛標籤
開發者團隊
② 後台搜尋「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: [email protected]
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
