LokiCheckout_AfterPayDevTools

This module is available free of charge as part of Loki Checkout. Please note that support for this module is not included and is available on an hourly basis.
Payment
PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes

Development tools for LokiCheckout_AfterPay. Never install this module in production.

When loki_checkout/after_pay_dev_tools/use_service_stubs is enabled:

  • Every call of Afterpay\Afterpay\Gateway\Http\Client\Client (checkout, checkout retrieval, auth, capture, refund, void, reversal, payment info, configuration) is answered by Stub\ResponseGenerator instead of the Afterpay API. Checkout requests are remembered in the cache, so later calls return matching amounts and items.
  • The Afterpay feature-flag and placement clients return empty responses.
  • The hosted Afterpay checkout is replaced by loki_checkout_after_pay_dev_tools/portal/index, with Approve and Cancel options that return to the store as Afterpay would.
  • On the Cash App Pay page, Cash App Pay Kit is disabled and replaced by Simulate approval / Simulate decline links.
bin/magento config:set loki_checkout/after_pay_dev_tools/use_service_stubs 1
WARNING: This module has no releases yet. If you want to use it, make sure to add the version @dev to the composer command.

Support

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

https://gitlab.yireo.com/loki-checkout-dev/LokiCheckout_AfterPayDevTools.git

Composer details
Magento module name
LokiCheckout_AfterPayDevTools
Composer name
loki-checkout/magento2-after-pay-dev-tools
Composer version
No release yet
Default branch
main
Requirements
afterpay-global/module-afterpay: ^5.4
loki-checkout/magento2-after-pay: ~0.0
magento/framework: ^103.0
php: >=8.2 <8.6
Releases
Changelog No changelog available

Last modified: September 25, 2026