Skip to content

Commit

Permalink
0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 17, 2019
0 parents commit d0f1c39
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# 2017-03-09
# https://github.com/isaacs/github/issues/170#issuecomment-150489692
root = true
[*]
indent_size = 4
indent_style = tab
50 changes: 50 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
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-part modules.
Currently supported 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)

## How to buy
You can buy it with PayPal [here](https://mage2.pro/t/6009).

## How to install
```
bin/magento maintenance:enable
rm -rf composer.lock
composer clear-cache
composer require mage2pro/klarna-compatibility:*
bin/magento setup:upgrade
rm -rf var/di var/generation generated/code
bin/magento setup:di:compile
rm -rf pub/static/*
bin/magento setup:static-content:deploy -f en_US <additional locales, e.g.: de_DE>
bin/magento maintenance:disable
bin/magento cache:enable
```

## How to upgrade
```
bin/magento maintenance:enable
composer remove mage2pro/klarna-compatibility
rm -rf composer.lock
composer clear-cache
composer require mage2pro/klarna-compatibility:*
bin/magento setup:upgrade
rm -rf var/di var/generation generated/code
bin/magento setup:di:compile
rm -rf pub/static/*
bin/magento setup:static-content:deploy -f en_US <additional locales, e.g.: de_DE>
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.
22 changes: 22 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "mage2pro/klarna-compatibility"
,"version": "0.0.1"
,"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"
,"license": "proprietary"
,"authors": [{
"name": "Dmitry Fedyuk"
,"email": "admin@mage2.pro"
,"homepage": "https://mage2.pro/users/dmitry_fedyuk"
,"role": "Developer"
}]
,"require": {"mage2pro/core": ">=5.1.9"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\KlarnaC\\": ""}}
,"keywords": [
"eCommerce"
,"Magento"
,"Magento 2"
,"Klarna"
]
}
7 changes: 7 additions & 0 deletions etc/df.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sentry": {
"id": 31
,"key1": "c0e42ab25a984b7ab50f8b7269f3b09b"
,"key2": "0878928d6efb4a1aa8d11ef0dff302b2"
}
}
11 changes: 11 additions & 0 deletions etc/module.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version='1.0'?>
<config
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation='urn:magento:framework:Module/etc/module.xsd'
>
<module name='Dfe_KlarnaC' setup_version='0.0.1'>
<sequence>
<module name='Klarna_Kp'/>
</sequence>
</module>
</config>
3 changes: 3 additions & 0 deletions registration.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
use Magento\Framework\Component\ComponentRegistrar as R;
R::register(R::MODULE, 'Dfe_KlarnaC', __DIR__);

0 comments on commit d0f1c39

Please sign in to comment.