klarna / module-kco-post-nl
Integrate PostNL with Klarna Checkout module
Installs: 325
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 10
Forks: 3
Open Issues: 0
Language:JavaScript
Type:magento2-module
Requires
- php: ^5.6|7.0.2|7.0.4|~7.0.6|~7.1.0
- klarna/module-kco: ^6.0
- klarna/module-kco-core: ^5.0
- tig/postnl-magento2: 1.4.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ~2.1.1
- jakub-onderka/php-console-highlighter: ^0.3.2
- jakub-onderka/php-parallel-lint: ^0.9.2
- lusitanian/oauth: ~0.8.10
- magento-ecg/coding-standard: ^3.1
- magento/framework: ^101.0.0
- mikey179/vfsstream: ^1.6
- pdepend/pdepend: ^2.5
- phploc/phploc: ^4.0
- phpmd/phpmd: @stable
- phpro/grumphp: ^0.12.1
- phpunit/phpunit: ~6.2.0
- sebastian/phpcpd: 2.0.4
- squizlabs/php_codesniffer: ^3.2
- theseer/phpdox: ^0.10.1
This package is not auto-updated.
Last update: 2024-10-27 06:02:37 UTC
README
Overview
The Klarna_KcoPostnl Add-On module adds support for the tig/postnl-magento2 PostNL module to Klarna Checkout in Magento 2.x.
Requirements
To use this module you must:
- Have an account with Klarna
- "Purchase" and install the Klarna Checkout for M2 module from the Magento Marketplace.
- Have an account with PostNL
NOTE: Installing this module will also install the PostNL module for M2 provided by TIG locked at a specific, supported version.
Implementation Details
The Klarna_KcoPostnl module:
- Adds plugin on
Klarna\KcoCore\Model\Api\Builder::setRequest
to add an attachment for the Klarna Checkout API to pass EMD data (See https://developers.klarna.com/api/#payments-api__attachment__body__other_delivery_address)
Dependencies
You can find the list of dependencies for the Klarna_KcoPostnl module in the require
section of the composer.json
file located in the same directory as this README.md
file.
NOTE: Due to frequent changes in the tig/postnl-magento2 module that break Klarna Checkout support, we lock to a specific version of that module. We will review and update to newer versions of tig/postnl-magento2 on a regular basis but there may be delays from their release until our support for it.
Extension Points
The Klarna_KcoPostnl 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 and Magento dependency injection.
Additional information
For more Magento 2 developer documentation, see Magento 2 Developer Documentation. Also, there you can track backward incompatible changes made in a Magento EE mainline after the Magento 2.0 release.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/klarna/m2-kco-postnl
License
Copyright 2018 Klarna Bank AB (publ)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.