Magento 2 payment module for Turkey: several banks, one payment method
The Lunixi module for Magento 2 connects your store to the virtual POS of several banks and payment institutions through one integration. If a bank does not respond, the payment continues with the next provider. The module targets the Magento Open Source / Adobe Commerce 2.4.9 payment APIs.
What does a Magento 2 virtual POS module do?
A Magento 2 virtual POS module is the payment method that connects checkout to the virtual POS of a bank or payment institution, which is how card payments are accepted online in Turkey. With a module tied to one provider, card sales stop as soon as that provider stops responding. The Lunixi module works as a single payment method across every virtual POS you connect in the panel: each payment goes to a suitable provider and moves to the next one before the 3D Secure step on an outage or timeout. Card number and CVV never reach Magento.
All banks, one Magento payment method
Connect the virtual POS accounts you already hold to the Lunixi panel; your Magento store takes payments through all of them with the same payment form.
Banks
Payment institutions
If your bank is not connected yet, send us a request and we add it.
Smart routing: Lunixi picks the most suitable connected provider for each payment and checks provider health every 60 seconds. If a provider does not respond or times out, the payment moves to the next one; an uncertain transaction is reconciled first, so the card is never charged twice. Declines such as insufficient funds are not retried at another bank.
Built on Magento's own order flow
The module uses Magento's Payment Adapter; invoices, credit memos and order states are kept in Magento's own records.
Magento 2.4.9 payment APIs
The current module version is 1.1.1 and requires PHP 8.3, 8.4 or 8.5. The installation package bundles the PHP SDK, so the store does not need to fetch extra dependencies with Composer. No testing is claimed for Adobe Commerce-only modules.
Native invoices and credit memos
A confirmed full capture creates Magento's own paid invoice. A refund is written as a Magento credit memo after the verified result; stock and product returns stay a separate store action.
Payment features
Payment form inside your store
The Lunixi payment form opens in your store's checkout step by default. You can switch on a redirect to the Lunixi payment page in the settings.
3D Secure, installments and multi-card
Installment options, paying with several cards and alternative methods come from the form settings in the Lunixi panel; Magento keeps no separate method filter.
Authorize now, capture later
With the "Authorize now, capture later" setting the order waits as an authorization. The "Manage Lunixi payment" section on the order screen handles capture, partial or full refund, void and reconciliation.
Verified payment status
An order becomes paid through a signature-verified webhook followed by a server-side lookup, not through the browser return. The amount is compared in the store's base currency, to the exact minor unit.
Bank transfer waiting period
While a bank transfer (havale, EFT or FAST) is on its way, the order waits in Payment Review. Magento's pending-payment cleanup does not cancel it.
Money for a canceled order
If money arrives for a canceled order, the order stays canceled and is not invoiced automatically; the module adds an order comment and an admin notification. Fraud and manual holds are preserved.
Installation
Back up the database before you start and try the first installation on a staging store.
- 1
Download the lunixi-magento2-1.1.1.zip installation package from the GitHub release page and verify it against the SHA256SUMS file of the same release. The repository's source code ZIP is not the installation package.
- 2
Extract the package at the store root; the files land in app/code/Lunixi/Payments.
- 3
Generate a random 32-byte key on the server and set its base64 form as LUNIXI_MAGENTO_ENCRYPTION_KEY on every application and cron instance. Keep a backup of the key outside the database.
- 4
Run bin/magento module:enable Lunixi_Payments, setup:upgrade, setup:di:compile, setup:static-content:deploy and cache:clean in that order.
- 5
Under Stores → Configuration → Sales → Payment Methods → Lunixi Payments, enable the method and enter the Merchant ID, Key ID, Ed25519 private key and webhook secret from your Lunixi panel.
- 6
Register the HTTPS webhook URL shown on the screen in your Lunixi panel and make sure Magento cron is running.
Requirements
- Magento Open Source / Adobe Commerce
- 2.4.9
- PHP
- 8.3 / 8.4 / 8.5
- PHP extensions
- sodium, curl, json
- Database
- MySQL / MariaDB supported by Magento 2.4.9
- Connection
- HTTPS store and webhook URL
- Scheduled tasks
- Magento cron
Frequently asked questions
- Can a Magento 2 store use several virtual POS at the same time?
- Yes. You connect your virtual POS accounts at banks and payment institutions to the Lunixi panel; Magento shows a single payment method. Each payment goes to a suitable provider and continues with the next one if a provider does not respond.
- Which Magento version does the module support?
- Module 1.1.1 targets the Magento Open Source / Adobe Commerce 2.4.9 payment APIs and requires PHP 8.3, 8.4 or 8.5. No testing is claimed for older 2.4 lines or Adobe Commerce-only modules.
- Does card data reach my Magento server?
- No. Card number and CVV are entered in the Lunixi form; the module neither collects nor stores card data. Merchant keys sit in Magento's encrypted configuration fields and are also protected with the module's own server-side encryption key.
- I don't have a virtual POS yet. Where do I start?
- From the Lunixi panel you can apply for virtual POS with one application form to several banks and payment institutions that accept applications by API. Approval and timing are the institution's decision; approved accounts connect to the same integration.
- Are Hyvä or headless checkouts supported?
- Not in this version. The payment step is built for Magento's standard (Luma) checkout. Recurring payments, card vaulting and RMA automation are not part of this version either.
- Is the module on Adobe Commerce Marketplace?
- The module's source code and installation packages are published on GitHub. That does not mean Adobe Marketplace approval; you download the package from the GitHub release page and verify its checksum before installing.
Ready to replace your payment stack?
Talk to our team and get a live demo tailored to your integration complexity.
Enterprise inquiry → contact@lunixi.com