Linux 软件免费装
Banner图

Serkany Direct Checkout for Lidio – Kartla Ödeme ve Taksit

开发者 serkan52
更新时间 2026年12月3日 00:38
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce sanal pos taksit kredi kartı lidio

下载

1.4.0

详情介绍:

Serkany Direct Checkout for Lidio collects card details on your own WooCommerce checkout page and charges them through the Lidio Direct API. The customer is never sent to a hosted payment page or iframe; only the bank's 3D Secure verification screen opens, and the customer returns to your store when the payment is done. The plugin is built for stores in Turkey and its interface is in Turkish. A short Turkish description (Türkçe açıklama) follows below. Why this plugin? Features Because card data passes through your server, your store falls under PCI DSS (SAQ D) scope. Pro version (coming soon) A separate add-on, Serkany Direct Checkout for Lidio Pro, will add an installment table on product pages, BDDK installment limits by product group, and installment rules per product, per category and by minimum cart total. No feature of this plugin depends on Pro or is restricted. This plugin is not developed by, affiliated with or endorsed by Lidio. Lidio is a trademark of Lidio Ödeme Hizmetleri A.Ş.

安装:

  1. Install the plugin from Plugins → Add New and activate it. WooCommerce must be active.
  2. Go to WooCommerce → Settings → Payments → Kart ile Ödeme (Serkany Direct Checkout for Lidio) and enter:
  3. Merchant Code and API Key (token) given by Lidio. You can paste the key with or without the "MxS2S" prefix.
  4. Merchant Key and API Password (optional): enter them if Lidio gave them to you separately. If left empty they are derived from the API Key. The Merchant Key verifies the 3D Secure return hash; the API Password verifies notifications.
  5. 3D return identity: the field that identifies the customer in your Lidio account (CustomerID by default). If it is wrong, 3D Secure payments are rejected.
  6. Test mode uses the Lidio test environment (test.lidio.com).
  7. For installments, enable "Installment support" and choose the maximum number of installments.
  8. Ask Lidio to allow your server IP and domain.
  9. (Optional) Notifications: send the notification address shown on the settings page to Lidio (JSON format recommended).
  10. Place a test order in test mode; if everything works, turn test mode off and enter your live keys.

屏幕截图:

  • A clear Turkish message shown to the customer when the bank declines a payment. / Banka ödemeyi reddedince müşteriye gösterilen anlaşılır Türkçe mesaj.
  • Settings: API keys, test mode, 3D Secure mode, installments and debug log. / Ayarlar.
  • Order notes: a 3D Secure payment and a same-day cancellation made as a refund. / Sipariş notları: 3D Secure ödeme ve aynı gün iptal.
  • Pro version (coming soon): installment table by card program on the product page. / Pro (yakında): ürün sayfasında kart programına göre taksit tablosu.

常见问题:

Is the customer sent to a Lidio page?

No. Card details are entered in the form on your checkout page. Only the bank's 3D Secure verification screen opens, then the customer returns to your store.

How do installments work?

Enable "Installment support" in the settings. When the first 6 digits of the card are entered, the plugin asks Lidio for the installment options of that card and the cart total. Rates, extra installments and minimum amounts come from your Lidio account. The selected option is checked again on the server when the order is placed, so a modified browser request cannot change the amount.

What happens if the bank does not answer in time?

The order is not marked as failed. The plugin queries the payment status from Lidio; if the result is still unknown, the order stays pending and the next attempt first checks the previous one, so the card is not charged twice.

How are the API keys stored?

They are encrypted with libsodium before they are saved. The encryption key comes from the LIDD_ENCRYPTION_KEY constant if you define it in wp-config.php, otherwise from your site's WordPress security keys (LOGGED_IN_KEY and LOGGED_IN_SALT). If those security keys are changed, the saved keys can no longer be read: card payments are disabled, a notice is shown, and you need to enter the keys again. Defining LIDD_ENCRYPTION_KEY (any long random string) avoids this.

Can I show card program logos?

The plugin does not include bank or card program logos, because they are registered trademarks. The installment list shows the card program name as text. If you have the right to use a logo, return its full URL from the lidd_card_logo_file filter.

Hooks for developers

  • lidd_max_installment (filter): ( int $max, WC_Order|null $order, LIDD_Gateway $gateway ). Narrows the maximum installment count (extra installments included) for the cart or order. The result is kept between 1 and the setting.
  • lidd_installment_note (filter): ( string $note, int $max, WC_Order|null $order, LIDD_Gateway $gateway ). A short plain-text note shown under the installment list.
  • lidd_admin_options_after (action): ( LIDD_Gateway $gateway ). Adds a section below the settings fields, inside the WooCommerce settings form.
  • lidd_loaded (action): Runs when the plugin classes are loaded. Use lidd_get_gateway() to get the gateway instance.
  • lidd_installment_rate_limit (filter): Installment queries per IP per minute (default 20).
  • lidd_customer_message (filter): ( string $message, array $response ). Changes the payment error message shown to the customer.
  • lidd_card_logo_file (filter): ( string $url, string $program ). Logo URL for a card program; empty by default.

更新日志:

1.4.0 1.3.0 1.2.2 1.2.1 1.2.0