Skip to content

Commit

Permalink
Release 4.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
edgaraswallee committed Aug 23, 2021
1 parent 576822b commit 5579317
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 4.0.7
- Fix Transaction Rollback error on unsupported languages

# 4.0.6
- Fix for delivery state change error

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG_de-DE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 4.0.7
- Behebung des Transaktions-Rollback-Fehlers in nicht unterstützten Sprachen

# 4.0.6
- Fehler beim Ändern des Lieferstatus behoben

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tail -f var/log/wallee_payment*.log

## Documentation

[Documentation](https://plugin-documentation.wallee.com/wallee-payment/shopware-6/4.0.6/docs/en/documentation.html)
[Documentation](https://plugin-documentation.wallee.com/wallee-payment/shopware-6/4.0.7/docs/en/documentation.html)

## License

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
}
},
"conflict": {
"shopware/administration": "<6.4,>=7",
"shopware/storefront": "<6.4,>=7"
"shopware/administration": "<6.4.2.1,>=7",
"shopware/storefront": "<6.4.2.1,>=7"
},
"description": "Wallee integration for Shopware 6",
"extra": {
Expand Down Expand Up @@ -54,5 +54,5 @@
"wallee/sdk": "3.0.1"
},
"type": "shopware-platform-plugin",
"version": "4.0.6"
"version": "4.0.7"
}
2 changes: 1 addition & 1 deletion docs/en/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2>Documentation</h2> </div>
</a>
</li>
<li>
<a href="https://github.com/wallee-payment/shopware-6/releases/tag/4.0.6/">
<a href="https://github.com/wallee-payment/shopware-6/releases/tag/4.0.7/">
Source
</a>
</li>
Expand Down
8 changes: 4 additions & 4 deletions src/Core/Api/WebHooks/Controller/WebHookController.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ private function getTotalRefundedAmount(int $transactionId, Context $context): f
*/
private function executeLocked(string $orderId, Context $context, callable $operation)
{
$this->connection->setTransactionIsolation(TransactionIsolationLevel::READ_COMMITTED);
$this->connection->beginTransaction();
//$this->connection->setTransactionIsolation(TransactionIsolationLevel::READ_COMMITTED);
//$this->connection->beginTransaction();
try {

$data = [
Expand All @@ -359,10 +359,10 @@ private function executeLocked(string $orderId, Context $context, callable $oper

$result = $operation();

$this->connection->commit();
//$this->connection->commit();
return $result;
} catch (\Exception $exception) {
$this->connection->rollBack();
//$this->connection->rollBack();
throw $exception;
}
}
Expand Down

0 comments on commit 5579317

Please sign in to comment.