Skip to content
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
3 changes: 3 additions & 0 deletions CHANGELOG_de-DE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 6.2.6
* Fix Apple Pay Zahlungsverarbeitung

# 6.2.5
* Update zur Verbesserung der Kompatibilität mit anderen 3rd-Party-Plugins

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG_en-GB.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 6.2.6
* Fix Apple Pay payment processing

# 6.2.5
* Update to improve compatibility with 3rd-party-plugins

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "unzerdev/shopware6",
"description": "Unzer payment integration for Shopware 6",
"version": "6.2.5",
"version": "6.2.6",
"type": "shopware-platform-plugin",
"license": "Apache-2.0",
"minimum-stability": "dev",
Expand Down
4 changes: 2 additions & 2 deletions src/Components/PaymentHandler/UnzerApplePayPaymentHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public function pay(

try {
$returnUrl = $bookingMode === BookingMode::CHARGE
? $this->charge($transaction->getReturnUrl(), RecurrenceTypes::ONE_CLICK)
: $this->authorize($transaction->getReturnUrl(), $this->unzerBasket->getTotalValueGross(), RecurrenceTypes::ONE_CLICK);
? $this->charge($transaction->getReturnUrl(), null)
: $this->authorize($transaction->getReturnUrl(), $this->unzerBasket->getTotalValueGross(), null);

return new RedirectResponse($returnUrl);
} catch (UnzerApiException $apiException) {
Expand Down