PayMe for WooCommerce: Fully Automate Payment Processing with API Integration Tutorial

在當今數位商務蓬勃發展的時代,選擇一個簡單、快速且安全的付款方式對商家來說至關重要。PayMe 已經成為香港最普及的電子錢包之一,深受大眾喜愛。現在,我們要跟大家分享一個激动人心的消息:全新的PayMe for WooCommerce  The plugin (version 1.0.4) has been upgraded to integrate the fullPayMe Business API, achieve truly automated collection of payments!

PayMe for WooCommerce

What is PayMe Business API Fully Automated Collection?

While traditional QR code payment methods are convenient, they still require merchants to manually confirm payments. Now, with the official PayMe Business API integration, the entire payment process is fully automated:

  • Customers select PayMe payment and the system automatically creates a payment request
  • 顧客完成付款後,訂單狀態自動更新為「處理中」
  • No need to manually confirm, no need to check the reconciliation
  • Full and partial refunds are supported, and can be completed with a single click

Powerful Features of the PayMe for WooCommerce Plugin

這款由熱情開發者 Hugo Shih 設計的插件,為您的 WooCommerce 商店提供了完整的 PayMe Business API 整合方案。

1. Complete PayMe Business API integration ✅

By integrating through the official API, your store can achieve truly automated payment processing. All payment requests are processed directly through the PayMe server, ensuring security and reliability.

2. 自動 OAuth2 令牌管理 ✅

The OAuth2 token management is fully automated, and the system will automatically renew the token 5 minutes before it expires, without any manual intervention required.

3. Secure request signing mechanism ✅

所有 API 請求都使用私鑰進行簽名,確保資料傳輸的安全性,防止未經授權的訪問。

4. 測試環境和生產環境支援 ✅

The plugin provides a complete test environment and production environment switching feature. You can first verify all features in the test environment and make sure there are no errors before switching to the production environment.

5. 訂單狀態自動更新 ✅

收到付款後,訂單狀態自動從「保留中」更新為「處理中」或「已完成」,無需手動確認。您可以設定付款成功後的預設訂單狀態。

6. Support full and partial refunds ✅

The refund process is also fully automated, and you can initiate a refund directly from the WooCommerce order page. The system will automatically process the refund request through the PayMe API.

7. Complete transaction history and logs ✅

所有的 API 請求、回應和錯誤都會被詳細記錄。您可以透過 WooCommerce 狀態頁面查看完整的交易日誌,方便問題排查和審計。

8. 多語言支援 ✅

The plugin supports traditional Chinese, English, and simplified Chinese, so your customers will see an interface that matches their language settings.

安裝與設定:三步快速開始

The setup is very simple and requires only three steps:

  1. Download and install plugin: Upload the plugin ZIP file to the WordPress plugin page and activate it.
  2. Obtain an API keyObtain a Client ID, Client Secret, Signing Key ID, and Signing Key from HSBC PayMe Business.
  3. Configure plugin settings:在 WooCommerce 設定頁面填寫 API 憑證並選擇環境(測試或生產)。

客戶的付款體驗

The payment process is very simple and fast for customers:

  1. 在結帳頁面選擇「PayMe」付款方式。
  2. 點擊「下訂單」後,系統會重定向到 PayMe 付款頁面。
  3. The customer uses the PayMe app to complete the payment.
  4. 付款成功後,系統自動引導客戶返回您的商店。

System requirements

  • WordPress 6.0 或更高版本
  • WooCommerce 7.0 or higher
  • PHP 7.4 or higher
  • OpenSSL extension (for request signing)

常見問題

Q: 令牌多久會過期?

A: OAuth2 tokens typically expire after 1 hour. The plugin automatically renews the token 5 minutes before it expires, without requiring manual action.

Q: Do you support partial refunds?

A: Yes, the plugin supports full refunds and partial refunds. You can enter the amount you want to refund on the order page.

Q: How do I view the transaction log?

A: Go to "WooCommerce" > "Status" > "Log," and then select the "payme-gateway" log file.

Summarize

「PayMe for WooCommerce」插件(版本 1.0.4)是一個專為商家設計的強大工具。它解決了歷來商家處理 PayMe 付款的痛點,透過完整的 API 整合和自動化訂單管理,大大提升了商店和客戶的支付體驗。如果您正在尋找一個簡單、可靠且全自動的 PayMe 付款解決方案,這款插件是您的理想選擇。

Leave a Reply

3
AI Assistant
WhatsApp
Email
AI Assistant
WhatsApp
Email
AI Assistant
Important notice: AI responses may be slower than expected. AI provides information for reference only, and we are not responsible for its accuracy or completeness. AI responses do not represent the position of this company.

Hello! Welcome to . How can I help you?

01:00