Skip to content

Commit

Permalink
Release 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
edgaraswallee committed Apr 2, 2024
1 parent ec2227a commit fbdd5cd
Show file tree
Hide file tree
Showing 93 changed files with 107 additions and 103 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# PrestaShop 8 wallee Integration
This repository contains the PrestaShop wallee payment module that enables the shop to process payments with [wallee](https://www.wallee.com).

## To install module manually by dragging up zip file, please download [.zip archive](https://plugin-documentation.wallee.com/wallee-payment/prestashop-8/1.0.4/wallee.zip) of module with correct structure required by Prestashop installation
## To install module manually by dragging up zip file, please download [.zip archive](https://plugin-documentation.wallee.com/wallee-payment/prestashop-8/1.0.5/wallee.zip) of module with correct structure required by Prestashop installation

##### To use this extension, a [wallee](https://app-wallee.com/user/signup) account is required.

Expand All @@ -12,15 +12,15 @@ This repository contains the PrestaShop wallee payment module that enables the s

## Documentation

* [English](https://plugin-documentation.wallee.com/wallee-payment/prestashop-8/1.0.4/docs/en/documentation.html)
* [English](https://plugin-documentation.wallee.com/wallee-payment/prestashop-8/1.0.5/docs/en/documentation.html)

## Support

Support queries can be issued on the [wallee support site](https://app-wallee.com/space/select?target=/support).

## License

Please see the [license file](https://github.com/wallee-payment/prestashop-8/blob/1.0.4/LICENSE) for more information.
Please see the [license file](https://github.com/wallee-payment/prestashop-8/blob/1.0.5/LICENSE) for more information.

## Other PrestaShop Versions

Expand Down
2 changes: 1 addition & 1 deletion controllers/admin/AdminWalleeCronJobsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion controllers/admin/AdminWalleeDocumentsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion controllers/admin/AdminWalleeMethodSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion controllers/admin/AdminWalleeOrderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion controllers/front/checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion controllers/front/cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion controllers/front/documents.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion controllers/front/order.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
13 changes: 8 additions & 5 deletions controllers/front/return.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down Expand Up @@ -97,15 +97,18 @@ private function processFailure(Order $order)
if (! empty($userFailureMessage)) {
$this->context->cookie->wle_error = $userFailureMessage;
}

$order->setCurrentState(Configuration::get(WalleeBasemodule::CK_STATUS_FAILED));

// Set cart to cookie
//the new state should be saved here to override the stock issues of incrementing or decrementing items when going through the webhooks
//by calling the setCurrentState function more than once without saving.
$order->save();

// Set cart to cookie
$originalCartId = WalleeHelper::getOrderMeta($order, 'originalCart');
if (! empty($originalCartId)) {
$this->context->cookie->id_cart = $originalCartId;
}

$this->redirect_after = $this->context->link->getPageLink('order', true, null, "step=3");
}

Expand Down
2 changes: 1 addition & 1 deletion controllers/front/webhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
7 changes: 4 additions & 3 deletions docs/en/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="keywords" value="wallee, PrestaShop 1.8, PrestaShop Module, Payment, Payment Integration, Documentation"><meta name="description" value="The documentation for the PrestaShop 1.8 module that enables processing payments with wallee."> <link rel="canonical" href="https://plugin-documentation.wallee.com/wallee-payment/prestashop-8/master/docs/en/documentation.html" />
<meta name="keywords" value="wallee, PrestaShop 1.8, PrestaShop Module, Payment, Payment Integration, Documentation"><meta name="description" value="The documentation for the PrestaShop 1.8 module that enables processing payments with wallee.">
<link rel="canonical" href="https://plugin-documentation.wallee.com/wallee-payment/prestashop-8/master/docs/en/documentation.html" />
<title>wallee PrestaShop</title>
<link href="assets/monokai-sublime.css" rel="stylesheet" />
<link href="assets/base.css" rel="stylesheet" />
Expand All @@ -22,7 +23,7 @@ <h2>Documentation</h2> </div>
</a>
</li>
<li>
<a href="https://github.com/wallee-payment/prestashop-8/releases/tag/1.0.4/">
<a href="https://github.com/wallee-payment/prestashop-8/releases/tag/1.0.5/">
Source
</a>
</li>
Expand All @@ -49,7 +50,7 @@ <h1>
<div class="olist arabic">
<ol class="arabic">
<li>
<p><a href="https://github.com/wallee-payment/prestashop-8/releases/tag/1.0.4/">Download</a> the module.</p>
<p><a href="https://github.com/wallee-payment/prestashop-8/releases/tag/1.0.5/">Download</a> the module.</p>
</li>
<li>
<p>Login to the backend of your PrestsShop store.</p>
Expand Down
2 changes: 1 addition & 1 deletion inc/Abstractmigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Backend/Defaultstrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Backend/Istrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Backend/Strategyprovider.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
4 changes: 2 additions & 2 deletions inc/Basemodule.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down Expand Up @@ -1927,7 +1927,7 @@ public static function hookDisplayBackOfficeHeader(Wallee $module, $params)
}
self::handleVoucherAddRequest($module);
self::handleVoucherDeleteRequest($module);
// self::handleRefundRequest($module);
self::handleRefundRequest($module);
self::handleCancelProductRequest($module);
}

Expand Down
2 changes: 1 addition & 1 deletion inc/Cartruleaccessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Downloadhelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Exception/Incompleteconfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Exception/Invalidtransactionamount.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Feehelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Model/Completionjob.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Model/Methodconfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Model/Refundjob.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Model/Tokeninfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Model/Transactioninfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Model/Voidjob.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Orderstatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Provider/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Provider/Currency.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Provider/Labeldescription.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
2 changes: 1 addition & 1 deletion inc/Provider/Labeldescriptiongroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This Prestashop module enables to process payments with wallee (https://www.wallee.com).
*
* @author customweb GmbH (http://www.customweb.com/)
* @copyright 2017 - 2023 customweb GmbH
* @copyright 2017 - 2024 customweb GmbH
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0)
*/

Expand Down
Loading

0 comments on commit fbdd5cd

Please sign in to comment.