| 开发者 | serkan52 |
|---|---|
| 更新时间 | 2026年12月3日 00:38 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
ParametersHash signature; the result is always confirmed by querying Lidio.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.
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.
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.
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.
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.
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.LIDD_ENCRYPTION_KEY constant.lidd_max_installment, lidd_installment_note, lidd_admin_options_after, lidd_loaded, lidd_customer_message, lidd_card_logo_file.