Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get 1761 doc #2

Merged
merged 2 commits into from
Nov 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This is a Magento 2 module which integrates WeGetFinancing payment gateway with the Magento 2 application.

## Getting Started
## Installation

In order to install the module, please use the composer package manager.

Expand All @@ -28,4 +28,25 @@ In order to install the module, please use the composer package manager.
php -d memory_limit=-1 bin/magento setup:di:compile
```

## Update

To update the module follow those steps:

1. From your magento project directory, make a copy of the configuration file
```
cp vendor/wegetfinancing/magento-checkout-plugin/etc/config.xml ./config.xml.wgf.checkout.tmp
```
2. Update your plugin
```
composer update
```
3. Put back your configuration file
```
cp config.xml.wgf.checkout.tmp vendor/wegetfinancing/magento-checkout-plugin/etc/config.xml
```
4. Complete the upgrade, flush the cache and rebuild the dic
```
php -d memory_limit=-1 bin/magento setup:upgrade
php -d memory_limit=-1 bin/magento cache:flush
php -d memory_limit=-1 bin/magento setup:di:compile
```
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"wegetfinancing/php-sdk": "1.*"
},
"type": "magento2-module",
"version": "0.1.2",
"version": "0.1.3",
"autoload": {
"files": [
"registration.php"
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?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="WeGetFinancing_Checkout" setup_version="0.1.2">
<module name="WeGetFinancing_Checkout" setup_version="0.1.3">
<sequence>
<module name="Magento_Sales" />
<module name="Magento_Payment" />
Expand Down