=== Leanpay for WooCommerce === Contributors: leanpay,sinusiks Tags: woocommerce, payment, payment-gateway, installment, leanpay Requires at least: 5.0 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 6.0.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Enable easy monthly installments with Leanpay in WooCommerce. == Description == Leanpay for WooCommerce lets customers pay in monthly installments. Features include: * Installment payment option on checkout * Installment display on catalog and product pages * Support for Slovenia, Croatia, Romania, and Hungary * Sandbox mode for testing * WooCommerce Blocks compatibility * Admin tools for installment plan updates and order delivery confirmation == Installation == 1. Upload the plugin files to the `/wp-content/plugins/wc-leanpay` directory, or install the plugin through the WordPress plugins screen. 2. Activate the plugin through the 'Plugins' screen in WordPress. 3. Go to WooCommerce -> Settings -> Payments. 4. Open "Leanpay - instalment purchases". 5. Enter your Leanpay API credentials. 6. Configure display and payment settings. 7. Save changes. == Frequently Asked Questions == = Where do I get API credentials? = From your Leanpay merchant account. = Can I test before going live? = Yes. Enable Sandbox mode in plugin settings. = Does it support WooCommerce Blocks? = Yes. = Which markets are supported? = Slovenia, Croatia, Romania, and Hungary. == External services == This plugin relies on the Leanpay external service to provide installment payments. = What the service is and what it is used for = Leanpay is a third-party payment gateway service used to: * retrieve available installment plans, * generate payment tokens, * redirect customers to Leanpay checkout, * confirm order delivery, * retrieve verification information for transactions. = What data is sent and when = * Installment plans update: merchant API key is sent when plans are updated manually or by schedule (`/vendor/installment-plans`). * Token creation at checkout: order details (order ID, total amount, redirect URLs) and billing data (name, phone, address, postal code, city) are sent when customer selects Leanpay (`/vendor/token`). * Checkout redirect: customer browser is redirected to Leanpay hosted checkout (`/vendor/checkout`). * Delivery confirmation: merchant API key and transaction ID are sent when admin confirms delivery (`/transaction/delivery`). * Verification lookup: merchant API key and transaction ID may be sent for verification document status (`/api/verification-document/get`). The plugin connects to Leanpay domains based on selected market and mode, for example: `app.leanpay.si`, `stage-app.leanpay.si`, `app.leanpay.ro`, `test-app.leanpay.ro`, `app.leanpay.hu`, `test-app.leanpay.hu`. = Service provider terms and privacy = Service provider: Leanpay d.o.o. * Terms of use: https://www.leanpay.si/pogoji-uporabe * Privacy policy: https://www.leanpay.si/izjava-o-zasebnosti == Screenshots == 1. Plugin settings page 2. Installment display on product page 3. Checkout with Leanpay payment option 4. Admin order details with transaction status == Changelog == = 6.0.2 = See `changelog.txt` for full release history. == Upgrade Notice == = 6.0.2 = Maintenance and compatibility updates for WordPress.org requirements.