Skip to content

Commit

Permalink
Fixed merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
L3RAZ committed Sep 11, 2024
1 parent 9b40a55 commit 5e56ee0
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions controllers/front/applepay.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function postProcess()

switch ($action) {
case 'getPaymentRequest':
$this->getPaymentRequest($bodyValues);
$this->getPaymentRequest();
break;
case 'getDomainAssociation':
/**
Expand All @@ -84,18 +84,13 @@ public function postProcess()
}
echo file_get_contents($associationFile);
exit;
} else {
$this->exitWithExceptionMessage(new Exception('File not found', 404));
}
$this->exitWithExceptionMessage(new Exception('Invalid request', 400));
break;
default:
$this->exitWithExceptionMessage(new Exception('Invalid request', 400));
}
if ($action === 'getPaymentRequest') {
$this->getPaymentRequest();
} else {
$exception = new Exception('Invalid request', 400);
$this->exitWithExceptionMessage($exception);
}
} catch (Exception $exception) {
$this->exitWithExceptionMessage($exception);
}
Expand Down

0 comments on commit 5e56ee0

Please sign in to comment.