After you install and activate the iwocaPay plugin, it appears as a payment option in your Magento checkout.
Payments made through iwocaPay automatically reconcile with your store data.
You can offer Buy Now, Pay Later to your customers, and optionally Pay Now via instant bank-to-bank transfers at no extra cost.
Before You Begin
Installing the iwocaPay extension for Magento takes 1–2 hours.
You’ll likely need a developer or someone with command-line access.
Set the terms and pricing you want to offer, via the universal pay link page in your iwocaPay dashboard
Access to your server’s command line
Get your API token by clicking Install Plugin on the Magento tab of the Integrations page in your iwocaPay dashboard. This sends a request to your Account Manager. You can also contact your Account Manager directly.
Back up your database before making any changes
Run installation commands in maintenance mode
Choose your pricing structure
With iwocaPay, you decide who covers the cost of Pay Later transactions.
You configure the payment terms and the pricing structure through the universal pay link in your iwocaPay dashboard.
In Magento, you can also choose whether to show only Pay Later at checkout, or both Pay Later and Pay Now.
Pay Now is always free for both you and your customers.
To choose which payment options appear:
Log in to your admin panel at /admin
Go to Stores > Configuration > Sales > Payment Methods
Select iwocaPay.
Use the Allowed payment terms drop-down menu to choose your preferred options.
When a buyer selects iwocaPay at checkout, the extension creates an order via the iwocaPay ecommerce API. The order progresses through these statuses:
iwocaPay status
Magento status
What happened
CREATED
Pending payment
Order placed, buyer redirected to iwocaPay checkout
PENDING
Pending payment
Buyer has started their application or login
APPROVED
Pending payment
Buyer approved for credit (Pay Later only)
SUCCESSFUL
Processing
Payment confirmed — buyer completed checkout
UNSUCCESSFUL
Cancelled
Buyer declined, abandoned, or payment failed
The extension doesn’t use webhooks.
An hourly reconciliation job checks the iwocaPay API for orders still in Pending payment, and updates the Magento order to match.
When it finds SUCCESSFUL, it moves the order to Processing, triggering standard Magento fulfilment workflows (invoicing, stock commitment, shipment creation).
While an order is still PENDING, the job keeps it alive so the Magento timeout (see below) doesn’t cancel it prematurely — for up to 72 hours.
New buyers without an existing Spending Limit go through the iwocaPay credit assessment and security checks before they can check out with Pay Later.
For some new customers, we run additional manual checks that can take around an hour.
For returning buyers with an active Spending Limit, checkout takes a few minutes.
During this time, the Magento order sits in Pending payment with stock reserved per the Magento inventory rules.
The Magento default behaviour is to cancel Pending payment orders after a configurable timeout, so set this long enough to allow for the checkout duration above.
The reconciliation job detects UNSUCCESSFUL and doesn’t prolong the order’s life. The Magento Pending Payment Lifetime timeout then cancels it and releases stock.
Buyer abandons mid-checkout
No automatic cancellation signal. The order stays in Pending payment — kept alive for up to 72 hours while iwocaPay reports it as PENDING — until the configurable Magento timeout cancels it.
Buyer clicks back to store
Magento cancels the order locally and queues it for cancellation on iwocaPay’s side, synced within 15 minutes. This is on by default and can be turned off in the admin settings.
Seller cancels
Call DELETE /ecommerce/order/{orderId}/ to cancel on iwocaPay’s side. Cancelling in the Magento admin only cancels the order locally — it doesn’t notify iwocaPay.
Once the order reaches SUCCESSFUL, Magento moves to Processing. You create a shipment and invoice as normal, through the Magento admin or your order management system.
The extension passes the Magento increment ID as the order reference at creation, so it’s available if you need to match orders against your own payment records.
The reconciliation job (hourly) keeps Magento order statuses up to date — not in real time.
Custom order workflows: The Magento order state machine is highly customisable. If you use custom statuses or transitions, map these against the iwocaPay order statuses during integration.
Abandoned order cleanup: Silent abandonment (no decline, no completion) doesn’t trigger cancellation. The native Magento Pending Payment Lifetime cron setting can help, but set it long enough not to conflict with legitimate checkout times.
Multi-website / multi-store: iwocaPay supports one seller account per Magento installation. Website-level credential overrides aren’t fully supported — the reconciliation and cancellation cron jobs always use the default-scope credentials, regardless of the order’s website.
Third-party system dependencies: Identify the third-party systems that interact with iwocaPay and account for any dependencies.