Linux 软件免费装
Banner图

Optimist Hub Payment Gateway with Moka United for WooCommerce

开发者 optimisthub
fatih-toprak
更新时间 2026年10月15日 22:58
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-3.0-or-later
版权网址: 版权信息

标签

woocommerce payment gateway united payment moka moka united

下载

1.1.8 1.1.9 1.1.10 1.1.11 1.1.12 1.1.13 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7

详情介绍:

This plugin adds a Moka United virtual POS integration to your WooCommerce store, for merchants taking payments in Turkey. It uses Moka United's hosted payment page (Ortak Ödeme Sayfası / WebPos): the customer is redirected to Moka United to pay, so you can start taking cards without ever handling card data yourself. The card number, expiry date and CVC code are therefore never entered on your site, never pass through your server and are never stored in your database. Your PCI-DSS scope stays at SAQ A. How it works
  1. The customer selects "Moka United" at checkout. The plugin renders no card fields at all (has_fields = false) — only your description text.
  2. The plugin creates a payment session on Moka United's WebPos service and redirects the customer to Moka United's hosted payment page.
  3. The customer enters their card details, chooses an installment plan and completes 3D Secure entirely on Moka United's page.
  4. Moka United returns the customer to your store with a signed result. The plugin verifies the signature, re-checks the amount and confirms the transaction server-to-server with Moka United before marking the order as paid.
Features Requirements

安装:

  1. Install and activate the plugin from your WordPress dashboard.
  2. Go to WooCommerce → Settings → Payments.
  3. Find Moka United, click Manage, enable it and enter the Dealer Code, API Username and API Password provided by Moka United.
  4. Leave Test Mode on until you have verified the payment flow, then turn it off to go live.

屏幕截图:

  • The Moka United settings screen.
  • The Moka United option on the checkout page, showing the redirect notice and no card fields.
  • The Moka United hosted payment page where the customer enters their card details.
  • The Moka United status tab, showing the connection test result and the system report — which lists the most recent payment attempts.
  • The installment table on the product page, listing the per-installment and total amounts for every card family, read live from your Moka United dealer account.

升级注意事项:

1.1.1 Second review round: external-service disclosure completed and callback input sanitized. No settings are lost. 1.1.0 Renamed plugin and slug, plus fixes for a PHP 7.4 fatal error in the installment table and for unvalidated request-header values in the bundled Moka client. No settings are lost. 1.0.1 Security update: cancelled and pre-authorised transactions could be treated as successful payments. Please update immediately. 1.0.0 Initial release. The old moka-woocommerce plugin is deactivated automatically on activation, because both plugins define the same constants and cannot run side by side. Back up your database first: the upgrade purges legacy card data and removes a table the old version no longer uses.

常见问题:

Do I need a Moka United account?

Yes, for live payments. You need a Moka United merchant account and the dealer code, API username and API password issued to you. Moka United also issues a separate test account, which you can use with Test Mode to rehearse the whole flow — placing an order, paying on the hosted page and receiving the callback — without moving real money.

How do I enable test mode?

Go to WooCommerce → Settings → Payments → Moka United and tick Test Mode. While it is on, all requests go to the Moka United test environment. Remember to turn it off before going live: sending a test dealer to the live environment returns an InvalidAccount error.

How do I enable installments?

Installment options are rendered by Moka United on its own payment page. In the plugin settings you control whether installments are offered at all (Installment Options / "Taksit Seçenekleri"), the highest installment count to offer (Maximum Installment / "Maksimum Taksit"), and exactly which installment counts are listed (Installment List / "Taksit Listesi", for example 1,2,3,6,9,12). Tick Reflect Commission in Installments / "Komisyonu Taksite Yansıt" if you want Moka United to apply the card BIN's commission rates to the displayed installment amounts.

Are my customers' card details safe?

They are never seen by your store. The card number, expiry date and CVC code are entered by the customer directly on Moka United's page, which is operated by Moka United, not by this plugin. The plugin does not collect, transmit or store card data under any circumstance — not even in debug logs. This keeps your PCI-DSS scope at SAQ A.

Can I issue refunds?

Not from this plugin. Refunds are handled in the Moka United merchant panel (https://pos.mokaunited.com). The plugin deliberately does not declare WooCommerce refund support, so the refund button is hidden on the order screen rather than offering an action that cannot complete.

How do I migrate from the old plugin?

The old moka-woocommerce plugin distributed through GitHub used the same gateway ID (mokapay), so your existing settings are inherited automatically. Both plugins also define the same constants, so they cannot run at the same time: if the old plugin is still active when you activate this one, it is deactivated for you automatically and a notice explains what happened. On upgrade, the plugin also purges any card data that the old version may have recorded in plain text, and removes a table the old version no longer uses. Take a database backup first.

Which languages are supported?

The plugin ships in English and includes a Turkish (tr_TR) translation, so a Turkish WordPress site shows the interface in Turkish and any other locale shows English. Every string is translatable, so additional languages can be added through translate.wordpress.org. If you want to ship your own translation, drop a .po/.mo pair into the plugin's languages/ folder.

Which order status is assigned after payment?

You choose it in the plugin settings. The default is Completed.

更新日志:

1.1.13 1.1.12 1.1.11 1.1.10 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.1 1.0.0