khipu / magento2-khipu
khipu integration for Magento 2
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-22 19:24:03 UTC
README
khipu payment gateway Magento 2.7.0 plugin.
This version is compatible with Magento 2.3 to 2.6
Tested on Magento 2.4.8.
You can sign up for khipu account at https://khipu.com
Install via Composer
You can install Magento 2.7.0 khipu plugin via Composer. Run the following command in your terminal:
-
Go to your Magento 2 root folder.
-
Enter following commands to install plugin:
composer require khipu/magento2-khipu
Wait while dependencies are updated.
-
Enter following commands to enable plugin:
php bin/magento module:enable Khipu_Payment --clear-static-content php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:flush
(
setup:static-content:deployis only needed in production mode.) -
Enable and configure Khipu plugin in Magento Admin under
Stores / Configuration / Sales / Payment Methods / Khipu.
Install via FTP
-
Copia y descomprime el archivo en la carpeta de plugins de Magento
-
Enter following commands to enable plugin:
php bin/magento module:enable Khipu_Payment --clear-static-content php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:flush
(
setup:static-content:deployis only needed in production mode.) -
Enable and configure Khipu plugin in Magento Admin under
Stores / Configuration / Sales / Payment Methods / Khipu.
Embedded payment (2.7.0)
Stores / Configuration / Sales / Payment Methods / Khipuhas a "Pago embebido" (embedded payment) switch, off by default.- When it is on, the payment opens in a Khipu modal (KWS) inside the checkout, but only if the Khipu account has simplified transfer enabled. Otherwise the customer is redirected to Khipu's payment page as usual.
- The modal only offers simplified transfer, even if the Khipu account has other payment methods enabled (manual transfer, direct debit, LigoPay, etc.).
- The plugin caches the account's payment methods for 30 seconds, so changes made in Khipu reach the checkout within 30 seconds. Use "Flush Magento Cache" (System / Cache Management) to apply them right away, and also after turning the switch on or off.
- Requires the Magento_Csp module. The plugin ships
etc/csp_whitelist.xmlwith js.khipu.com and the hosts KWS uses. - Behavior change that applies even with the switch off: when a customer abandons the payment, the plugin first deletes the charge in Khipu and only then cancels the order. If Khipu does not allow it (for example, the charge is already paid), the order stays pending and the customer sees a notice.