[WordPress] 外掛分享: Libyan Payments for MyPay

首頁外掛目錄 › Libyan Payments for MyPay
WordPress 外掛 Libyan Payments for MyPay 的封面圖片
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 6.5+ PHP 7.4+ v1.0.7 上架:2026-09-15

內容簡介

Libyan Payments for MyPay 外掛可將您的 WooCommerce 商店與 MyPay 付款平台連接,讓您能夠在利比亞安全地接受當地付款,支援多種付款方式。

【主要功能】
• 無縫整合 WooCommerce 結帳流程
• 安全的 MyPay 托管結帳處理
• 可自訂付款閘道標題與描述
• 使用 X-MyPay-Signature 的簽名 webhook 驗證
• 支援 MyPay 付款方式的別名閘道
• 故障排除日誌功能

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.7) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Libyan Payments for MyPay」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Libyan Payments for MyPay connects your store to the MyPay payment platform (mypay.ly) so you can accept secure local payments across Libya.
This plugin allows merchants to accept payments directly on their WooCommerce store using Libya’s local payment methods, including bank cards, Edfali, Sadad, Mobicash, Yaser Pay, Sahara Pay, Masrafi Pay, and optional prepaid card when enabled for your merchant in MyPay. Orders are confirmed using a signed webhook, not by relying on the customer’s browser return alone.
Key features

Seamless integration with WooCommerce and WooCommerce Blocks checkout
Secure payment processing through MyPay hosted checkout
Customizable payment gateway title and description
Signed webhook verification using X-MyPay-Signature
Alias gateways for supported MyPay payment methods
Logging for troubleshooting

Requirements

WordPress 6.5 or newer
WooCommerce (from WordPress.org)
PHP 7.4 or newer
A MyPay merchant account with API credentials

Configuration

Go to WooCommerce -> Settings -> Payments.
Click on “MyPay” to configure the gateway.
Enable the gateway by checking the “Enable MyPay Gateway” box.
Enter your MyPay Client ID and Secret ID from your MyPay merchant dashboard.
Use the environment switch:

Production = unchecked, which targets /pay/api/v1
Sandbox = checked, which targets /pay/sandbox/api/v1

Paste the Webhook Secret from your MyPay merchant dashboard.
Keep the generated Webhook URL configured in your MyPay merchant API settings.
Customize the title and description if desired.
Save changes.

External services
This plugin connects to MyPay (https://mypay.ly) to process payments and synchronize merchant connection status when API credentials are configured. MyPay is required for checkout and order confirmation.
What is sent and when

Payment API (/authentication/token, /payment/create): order amount, currency, billing name, email, phone, order ID, return/cancel/webhook URLs, and selected gateway alias when a customer pays.
Webhook (incoming to your site): signed payment status payload from MyPay to finalize WooCommerce orders.
Connection sync (/plugin/connect, /plugin/disconnect, /plugin/heartbeat): site URL, plugin/WP/WC versions, environment (production/sandbox), enabled gateway flags, and plugin active state when you save MyPay credentials or change gateway settings. This supports merchant setup verification on MyPay.
Optional health telemetry (/plugin/telemetry-consent): only when you explicitly enable “Share optional plugin health data with MyPay” in gateway settings (disabled by default). No customer, order checkout payload, or admin personal data is included.

This service is provided by MyPay:

Terms of Service: https://mypay.ly/page/terms-and-conditions
Privacy Policy: https://mypay.ly/page/privacy-policy

Production notes

The plugin uses an embedded MyPay host and only needs the environment switch.
The webhook secret in WooCommerce must match the webhook secret configured for the merchant key in MyPay.
Alias gateways such as yasr-pay, masrafi-pay, sahary-pay (shown in the store as Sahara Pay), moamalat (shown as Banking Card), edfali, sadad, and mobicash must also exist and be enabled in the merchant gateway settings on MyPay.
The prepaid-card alias requires prepaid card payments to be enabled for your merchant in MyPay.
A customer returning from MyPay does not complete the WooCommerce order by itself; the signed webhook is the source of truth for final order completion.

Privacy & tracking

Payment processing requires MyPay API calls once credentials are saved (Software as a Service).
Operational connection sync is sent when credentials are configured to support merchant setup on MyPay.
Optional plugin health telemetry is disabled by default and can be enabled in WooCommerce -> Settings -> Payments -> MyPay.
No customer checkout payload or admin personal data is sent as part of optional plugin health metadata.

Credits
Developed by MyPay – https://mypay.ly

延伸相關外掛

文章
Filter
Mastodon