Linux 软件免费装
Banner图

Baratek Payment Gateway with MPGS for WooCommerce

开发者 exhaler
更新时间 2026年8月27日 04:04
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv3 or later
版权网址: 版权信息

标签

woocommerce payment gateway mastercard woocommerce subscriptions mpgs

下载

1.1.0 1.1.1

详情介绍:

This file documents installation, settings, and FAQ. For architecture, request-flow diagrams, and the security design rationale, see README.md in this plugin's repository. A WooCommerce payment gateway for Mastercard Payment Gateway Services (MPGS) - works with any MPGS-based provider (Areeba, or others exposing the same Transaction API), not tied to one reseller: Refunds are handled directly in your MPGS provider's merchant portal and are intentionally not implemented in this plugin. Most MPGS providers have no separate "test mode" - which Merchant ID you configure determines whether the account is test or live. Recurring/subscription payments require the separate WooCommerce Subscriptions plugin to be installed and active. Without it, this gateway still works fully for one-off card payments - the subscription-related settings and behavior simply don't apply.

安装:

  1. Install and activate the plugin.
  2. Go to WooCommerce > Settings > Payments > MPGS.
  3. Enter your credentials:
  4. MPGS Gateway URL - the gateway host given by your provider, including https:// (e.g. https://epayment.areeba.com/).
  5. API Version - the MPGS API version given by your provider.
  6. Merchant ID - from your provider. This also determines whether the account is test or live.
  7. Authentication Password - generated in your provider's merchant portal, usually under Admin > Integration Settings.
  8. Choose a checkout mode: leave Hosted Checkout off for an on-page card form, or enable it to redirect customers to the provider's own payment page.
  9. Optionally enable Debug Log while testing, and configure Failure Alerts to be notified by email when a payment or renewal fails.
  10. Place a test transaction to confirm the settings work before going live.

屏幕截图:

  • On-page card form (custom checkout mode), rendered via MPGS session.js with 3DS2 authentication.
  • MPGS Transaction Details meta box on the order edit screen - receipt, transaction ID/type, card brand/last 4, gateway response code, and a link to the provider's merchant portal.
  • WooCommerce > MPGS Logs - filterable, paginated event log for session/payment/renewal activity.
  • Order summary

升级注意事项:

1.1.0 Adds the MPGS Transaction Details order meta box and Checkout block compatibility. No settings changes required - safe to update directly.

常见问题:

Why are my transactions failing?

Common causes:

  1. Wrong Merchant ID or Authentication Password - check WooCommerce > MPGS Logs for the specific error.
  2. Currency mismatch between your MPGS merchant account and your WooCommerce store.
  3. An API version your provider's account doesn't support.
A request that fails with HTTP 401/403, or an obviously malformed Gateway URL, is called out directly in the log with a hint pointing at the likely setting to check.

Does this plugin store credit card data?

No. In Hosted Checkout mode, customers enter card details on the provider's own hosted page. In custom checkout mode, card details are tokenized client-side by MPGS's session.js and never reach this server - only the resulting card token (used for subscription renewals) is stored.

Where do I find transaction details for an order?

Open any order paid through this gateway - the MPGS Transaction Details box in the sidebar shows the receipt, transaction ID/type, card brand/last 4/type, gateway response code, API version, and a link to view the order in your provider's merchant portal.

How do subscription renewals work?

The first time a customer pays for a subscription, they enter their card as normal (on-page form or your provider's hosted page, depending on your checkout mode). Their card is then securely saved with your MPGS provider, and WooCommerce charges it automatically on each renewal date - the customer doesn't need to come back or re-enter anything. If a renewal payment fails (e.g. an expired or declined card), WooCommerce Subscriptions puts the subscription on hold and emails the customer to update their payment method; if Failure Alerts is enabled, you get an email too. Once the customer updates their card, the subscription resumes normally.

Does this plugin handle refunds?

No - refunds are handled directly in your MPGS provider's merchant portal, intentionally, to avoid duplicating the ledger your provider already maintains.

Is this plugin HPOS compatible?

Yes, along with the WooCommerce Checkout block.

Does this work with providers other than Areeba?

Yes. Anything exposing the standard MPGS Transaction API works - the gateway host, API version, Merchant ID, and Authentication Password are all settings, never hardcoded to one provider.

更新日志:

1.1.0 1.0.0