Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 21, 2019
1 parent d41a7b2 commit f9beb93
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 13 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
The module makes the [official Klarna payment module for Magento 2](https://docs.magento.com/m2/ce/user_guide/payment/klarna.html) compatible with third-party modules.
Currently the module solves compatibility problems with 3 modules of **aheadWorks**:
- [Gift Card](https://ecommerce.aheadworks.com/magento-2-extensions/gift-card)
- [Reward Points](https://ecommerce.aheadworks.com/magento-2-extensions/points-and-rewards)
- [Store Credit and Refund](https://ecommerce.aheadworks.com/magento-2-extensions/store-credit)
Currently the module solves compatibility problems with:
- aheadWorks [Gift Card](https://ecommerce.aheadworks.com/magento-2-extensions/gift-card)
- aheadWorks [Reward Points](https://ecommerce.aheadworks.com/magento-2-extensions/points-and-rewards)
- aheadWorks [Store Credit and Refund](https://ecommerce.aheadworks.com/magento-2-extensions/store-credit)
- Amasty [Extra Fee](https://amasty.com/extra-fee-for-magento-2.html)

## How to install
[Hire me in Upwork](https://www.upwork.com/fl/mage2pro), and I will:
- install and configure the module properly on your website
- answer your questions
- solve compatiblity problems with third-party checkout, shipping, marketing modules
- implement new features you need

```
bin/magento maintenance:enable
rm -rf composer.lock
Expand Down Expand Up @@ -35,13 +42,6 @@ bin/magento maintenance:disable
bin/magento cache:enable
```

If you have problems with these commands, please check the [detailed instruction](https://mage2.pro/t/263).

## Support
- [The extension's **forum** branch](https://mage2.pro/c/extensions/klarna-compatibility).
- [Where and how to report a Mage2.PRO extension's issue?](https://mage2.pro/t/2034)
- I also provide a **[generic Magento 2 support](https://mage2.pro/t/755)** and [Magento 2 installation service](https://mage2.pro/t/748).

## Want to be notified about the extension's updates?
- [Subscribe](https://mage2.pro/t/2540) to the extension's [forum branch](https://mage2.pro/c/extensions/klarna-compatibility).
- Subscribe to my [Twitter](https://twitter.com/mage2_pro) and [YouTube](https://www.youtube.com/channel/UCvlDAZuj01_b92pzRi69LeQ) channels.
- [Where and how to report a Mage2.PRO extension's issue?](https://mage2.pro/t/2034)
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/klarna-compatibility"
,"version": "1.0.0"
,"version": "1.1.0"
,"description": "The module makes the official Klarna payment module for Magento 2 compatible with third-party modules"
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/klarna-compatibility"
Expand Down
7 changes: 7 additions & 0 deletions etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,11 @@
>Klarna\Core\Model\Checkout\Orderline\Reward::ITEM_TYPE_REWARD</argument>
</arguments>
</virtualType>
<virtualType name='Dfe\KlarnaC\OL\Amasty\ExtraFee' type='Dfe\KlarnaC\OL'>
<arguments>
<argument name='id' xsi:type='string'>amasty_extrafee</argument>
<argument name='type' xsi:type='const'
>Klarna\Core\Model\Checkout\Orderline\Surcharge::ITEM_TYPE_SURCHARGE</argument>
</arguments>
</virtualType>
</config>
1 change: 1 addition & 0 deletions etc/klarna.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
<line class='Dfe\KlarnaC\OL\AheadWorks\CustomerBalance' id='Dfe\KlarnaC\OL\AheadWorks\CustomerBalance'/>
<line class='Dfe\KlarnaC\OL\AheadWorks\GiftCard' id='Dfe\KlarnaC\OL\AheadWorks\GiftCard'/>
<line class='Dfe\KlarnaC\OL\AheadWorks\Reward' id='Dfe\KlarnaC\OL\AheadWorks\Reward'/>
<line class='Dfe\KlarnaC\OL\Amasty\ExtraFee' id='Dfe\KlarnaC\OL\Amasty\ExtraFee'/>
</order_lines>
</klarna>

0 comments on commit f9beb93

Please sign in to comment.