LokiCheckout_PurchaseOrder

Other
PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes
Functional Tests 2
PHPStan 8
Magento PHPCS 1
Latest Release 2.0.7

This Magento 2 module is an add-on package for adding support for the Magento core payment method Purchase Order to the LokiCheckout. Specifically it adds a new field for the customer to enter a PO number.

Installation

Install this package via composer:

composer require loki-checkout/magento2-purchase-order

Next, enable this module:

bin/magento module:enable LokiCheckout_PurchaseOrder

Support

For getting support, create an Issue under the following project URL:

https://gitlab.yireo.com/loki-checkout/LokiCheckout_PurchaseOrder

Loki Components

The following LokiComponents are created or references in this module:

loki-checkout.payment.methods.purchaseorder.form loki-checkout.sidebar.preview.payment_details.purchaseorder
Module Dependencies

The following dependencies are declared in the module its `etc/module.xml` file:

LokiCheckout_Core Loki_Base Loki_Components Loki_CssUtils Loki_FieldComponents Loki_MapComponents Magento_Backend Magento_Catalog Magento_Checkout Magento_CheckoutAgreements Magento_Config Magento_Customer Magento_Directory Magento_Eav Magento_MediaStorage Magento_Newsletter Magento_Payment Magento_Quote Magento_Sales Magento_Shipping Magento_Store Magento_Vault Yireo_CspUtilities Yireo_HyvaThemeAutoRegistration
Composer details
Magento module name
LokiCheckout_PurchaseOrder
Composer name
loki-checkout/magento2-purchase-order
Composer version
2.0.7
Default branch
main
Requirements
magento/framework: ^103.0
magento/module-store: ^101.0
loki/magento2-components: ^2.0
loki/magento2-css-utils: ^1.0
loki/magento2-field-components: ^2.0
loki-checkout/magento2-core: ^2.0
Releases
dev-main#8cada14b47b526a64e3da40cbcd579b54d8dbae4 20 October 2025
2.0.7 20 October 2025
2.0.6 20 October 2025
2.0.5 20 October 2025
2.0.4 20 October 2025
2.0.3 20 October 2025
2.0.2 20 October 2025
2.0.1 20 October 2025
2.0.0 20 October 2025
1.0.1 20 October 2025
1.0.0 20 October 2025
0.0.5 20 October 2025
0.0.4 20 October 2025
0.0.3 20 October 2025
0.0.2 20 October 2025
0.0.1 20 October 2025
Changelog

[2.0.7] - 24 September 2025

Fixed

  • Rewrite transfer of global messages from components to be a lot simpler

[2.0.6] - 02 September 2025

Fixed

  • Change loki-checkout.payment.payment-methods to loki-checkout.payment.methods
  • Refactor Loki-library location in Playwright tests

[2.0.5] - 28 August 2025

Fixed

  • Add CI files
  • Replace yireo/opensearch with yireo/opensearch-dummy in Gitlab CI

[2.0.4] - 26 August 2025

Fixed

  • adeda03 Add GitLab CI files

[2.0.3] - 21 August 2025

Fixed

  • Add dependency with loki/magento2-css-utils
  • Declare used PHP namespaces

[2.0.2] - 18 August 2025

Fixed

  • Lower requirements to PHP 8.1

[2.0.1] - 07 August 2025

Fixed

  • Lower PHP requirement to PHP 8.2+

[2.0.0] - 22 July 2025

Fixed

  • Rename PHP namespace from Yireo_Loki* to Loki*
  • Rename composer package from yireo/magento2-loki* to loki/magento2*
  • Bump loki/magento2-components to major 2.0
  • Bump LokiCheckout_Core to 2.0.0

[1.0.1] - 18 June 2025

Fixed

  • Use Loki test-case in Playwright to detect JS errors automatically
  • Rewrite @helpers to @loki in Playwright tests

[1.0.0] - 26 May 2025

Fixed

  • Generate new MODULE.json with simple test count
  • Allow PHP 8.4 in CI

[0.0.5] - 25 April 2025

Fixed

  • Allow upgrading to LokiFieldComponents and LokiCheckout 1.0
  • Allow upgrade to LokiComponents 1.0

[0.0.4] - 04 April 2025

Fixed

  • Rewrite ugly require to standard import
  • Complete Playwright test
  • Add keywords to composer.json
  • Add new MODULE.json with meta-information

[0.0.3] - 11 March 2025

Fixed

  • Add module dependencies
  • Huge refactoring to move logic into new LokiFieldComponents

[0.0.2] - 22 February 2025

Fixed

  • Change deps
  • Add proper README
  • Replace TODO.md with TODO.json
  • Add changes from release

[0.0.1] - 21 January 2025

  • Add proper deps
  • Initial release

Last modified: September 1, 2025