Yireo_LokiCheckoutPurchaseOrder

Other
PHP 8.3 | 8.4
Magento 2.4.7 | 2.4.8
Functional Tests 2
Latest Release 1.0.1

This 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 (assuming you have setup the composer.yireo.com repository correctly already):

composer require yireo/magento2-loki-checkout-purchase-order

Next, enable this module:

bin/magento module:enable Yireo_LokiCheckoutPurchaseOrder

Support

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

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

Loki Components

The following LokiComponents are created or references in this module:

loki-checkout.payment.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:

Yireo_LokiCheckout Yireo_LokiComponents Yireo_LokiFieldComponents
Composer details
Magento module name
Yireo_LokiCheckoutPurchaseOrder
Composer name
yireo/magento2-loki-checkout-purchase-order
Composer version
1.0.1
Default branch
main
Requirements
magento/framework: ^103.0
yireo/magento2-loki-components: ~0.0 | ^1.0
yireo/magento2-loki-checkout: ~0.0 | ^1.0
Releases
dev-main 18 June 2025
1.0.1 18 June 2025
1.0.0 26 May 2025
0.0.5 25 April 2025
0.0.4 04 April 2025
0.0.3 11 March 2025
0.0.2 22 February 2025
0.0.1 21 January 2025
Changelog

[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: April 30, 2025