Linux 软件免费装
Banner图

WPKJ Payment Gateway for FluentCart with Wechat

开发者 wpdaxue
cmhello
更新时间 2025年12月22日 11:05
捐献地址: 去捐款
PHP版本: 8.2 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

payment gateway wechat pay fluentcart china payment

下载

1.0.6

详情介绍:

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 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 Requirements Architecture Built on the proven architecture of WPKJ FluentCart Alipay Payment plugin with 65%+ code reusability, ensuring reliability and maintainability.

安装:

Automatic Installation
  1. Log in to your WordPress admin panel
  2. Navigate to Plugins > Add New
  3. Search for "WPKJ Payment Gateway for FluentCart with Wechat"
  4. Click "Install Now" and then "Activate"
  5. Go to FluentCart > Settings > Payment Methods
  6. Configure your WeChat Pay credentials
Manual Installation
  1. Download the plugin ZIP file
  2. Upload to /wp-content/plugins/wpkj-payment-gateway-for-fluentcart-with-wechat/
  3. Activate through the 'Plugins' menu in WordPress
  4. Navigate to FluentCart > Settings > Payment Methods
  5. Configure WeChat Pay gateway settings
  6. Enable the payment method
Configuration Steps
  1. Obtain Credentials from WeChat Pay: – Register at WeChat Pay Merchant Platform – Complete merchant verification – Get App ID (starts with "wx") – Get Merchant ID (10 digits) – Generate 32-character API Key – Optional: Get App Secret (for JSAPI)
  2. Download SSL Certificates (For Refunds): – Login to WeChat Pay merchant platform – Download SSL certificates – Upload apiclient_cert.pem and apiclient_key.pem to server – Enter file paths in plugin settings
  3. Configure Plugin Settings: – Enter App ID, Merchant ID, and API Key – Optional: Enter App Secret for JSAPI – Select signature type (HMAC-SHA256 recommended) – Configure SSL certificate paths for refunds – Enable/disable auto-refund – Enable/disable JSAPI payment
  4. Configure Webhook: – Copy Notify URL from plugin settings – Add to WeChat Pay merchant dashboard – Save configuration
  5. Test Your Setup: – Use production environment with ¥0.01 – Make a test purchase – Verify webhook notifications – Test refund functionality

屏幕截图:

  • WeChat Pay payment gateway settings page
  • Payment method selection during checkout
  • Native payment QR code page for desktop
  • Payment receipt

升级注意事项:

1.0.6 Critical bug fixes for PHP 8.0+ compatibility and WordPress.org compliance. Recommended update for all users. Tested with WordPress 6.9. 1.0.5 Maintenance release with naming standardization and bug fixes. Safe update for all users. 1.0.4 Important compatibility update for WordPress.org standards. Recommended for all users. 1.0.1 Enhanced subscription management with professional lifecycle handling and improved security. Recommended for all users. 1.0.0 Initial release of WPKJ Payment Gateway for FluentCart with Wechat gateway. Comprehensive payment solution for WeChat Pay.

常见问题:

Where do I get WeChat Pay credentials?

Register for a merchant account at WeChat Pay Merchant Platform. After verification, you'll receive App ID, Merchant ID, and can generate an API Key.

Does this plugin support subscription payments?

Yes! The plugin supports FluentCart subscriptions with manual renewal mode. Each renewal requires the customer to manually complete payment, as WeChat Pay does not support automatic recurring charges.

Can I test before going live?

WeChat Pay does not provide a public sandbox. You must test in production using small amounts (¥0.01 is recommended for testing).

How do refunds work?

Refunds require SSL certificates from WeChat Pay merchant platform. Once configured:

  1. Automatic – Enable auto-refund, cancelling orders triggers instant refunds
  2. Manual – Process refunds from FluentCart admin panel Both full and partial refunds are supported.

Is the plugin translation ready?

Yes, the plugin is fully internationalized with a POT file included. Chinese and English translations are built-in.

What happens if webhook notifications fail?

The plugin includes a payment status checker that polls WeChat Pay for payment confirmation if webhooks fail, ensuring reliable payment processing.

How does Native payment work?

On PC desktop, the plugin generates a QR code. Customers scan with their WeChat app to complete payment. The page automatically updates when payment is confirmed.

How does H5 payment work?

On mobile devices, customers are redirected to WeChat Pay's mobile interface to complete payment, then returned to your site.

What is JSAPI payment?

JSAPI is for payments within the WeChat browser. It provides a native WeChat Pay experience without leaving the app. Requires App Secret configuration.

Do I need SSL certificates?

Yes, SSL/HTTPS is required for all production payments. Additionally, refund functionality requires SSL certificates downloaded from WeChat Pay merchant platform.

更新日志:

1.0.6 Release Date: December 19, 2025 1.0.5 Release Date: December 4, 2025 1.0.4 Release Date: November 24, 2025 1.0.3 Release Date: November 13, 2025 1.0.2 Release Date: October 23, 2025 1.0.1 Release Date: October 23, 2025 1.0.0 Release Date: October 22, 2025