HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/klarna/module-kp/README.md
<h2>Klarna_KP module</h2>

## Overview

The Klarna_Kp module implements the integration with the Klarna Payments payment gateway and makes the latter available as a payment method in Magento.

## Implementation Details

The Klarna_Kp module:

 * adds plugin on `Magento\Payment\Helper\Data::getPaymentMethods` and `getMethodInstance` to add dynamic payment methods from the Klarna Payments API
 * adds plugin on `Magento\Checkout\Block\Checkout\LayoutProcessor::process` to inject checkout specific configuration values
 * adds plugin on `Klarna\Ordermanagement\Controller\Api\Notification::setOrderStatus` to replace the payment method with "klarna_kp" if the payment method is one of the dynamically generated ones from Klarna
 * updates plugin on `Magento\Vault\Plugin\PaymentVaultConfigurationProcess` to adjust the sortOrder such that it runs after the Klarna plugins
 * listens to `payment_method_assign_data` event to associated additional information with an order's payment

## Dependencies

You can find the list of modules that have dependencies on Klarna_Kp module, in the `require` section of the `composer.json` file located in the same directory as this `README.md` file.

## Extension Points

The Klarna_Kp module does not provide any specific extension points. You can extend it using the Magento extension mechanism.

For more information about Magento extension mechanism, see [Magento plug-ins](http://devdocs.magento.com/guides/v2.0/extension-dev-guide/plugins.html) and [Magento dependency injection](http://devdocs.magento.com/guides/v2.0/extension-dev-guide/depend-inj.html).

## Additional information

For more Magento 2 developer documentation, see [Magento 2 Developer Documentation](http://devdocs.magento.com). Also, there you can track [backward incompatible changes made in a Magento EE mainline after the Magento 2.0 release](http://devdocs.magento.com/guides/v2.0/release-notes/changes/ee_changes.html).