Skip to content

Commit

Permalink
Release 4.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
edgaraswallee committed Oct 4, 2021
1 parent b458422 commit f75dadd
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 4 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.10
- Fixed "Allow payment change after checkout" option behavior

# 4.0.9
- Allow to mark payment status as paid from status reminded

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.10
- Das Verhalten der Option "Zahlungsänderung nach der Kasse zulassen" behoben

# 4.0.9
- Erlaube, den Zahlungsstatus als bezahlt ab Status erinnert zu markieren

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.9/docs/en/documentation.html)
[Documentation](https://plugin-documentation.wallee.com/wallee-payment/shopware-6/4.0.10/docs/en/documentation.html)

## License

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@
"wallee/sdk": "3.0.1"
},
"type": "shopware-platform-plugin",
"version": "4.0.9"
"version": "4.0.10"
}
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.9/">
<a href="https://github.com/wallee-payment/shopware-6/releases/tag/4.0.10/">
Source
</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,10 @@ public function recreateCart(Cart $cart, Request $request, SalesChannelContext $
// Configuration
$this->settings = $this->settingsService->getSettings($salesChannelContext->getSalesChannel()->getId());
$orderEntity = $this->getOrder($request, $salesChannelContext);
$lastTransaction = $orderEntity->getTransactions()->last();
if ($lastTransaction && !$lastTransaction->getPaymentMethod()->getAfterOrderEnabled()) {
return $this->redirectToRoute('frontend.home.page');
}

$transaction = $this->getTransaction($orderId, $salesChannelContext->getContext());
if (!empty($transaction->getUserFailureMessage())) {
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/public/administration/js/wallee-payment.js

Large diffs are not rendered by default.

0 comments on commit f75dadd

Please sign in to comment.