We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2d9883 commit a5859f6Copy full SHA for a5859f6
Model/OrderImporter/Processor.php
@@ -99,14 +99,14 @@ public function processOrder(CheckoutFormInterface $checkoutForm): void
99
if (!$this->tryToGetOrder($checkoutForm->getId())) {
100
$this->allegroReservation->compensateReservation($checkoutForm);
101
$this->tryCreateOrder($checkoutForm);
102
- $this->removeErrorLogIfExist($checkoutForm);
103
}
104
} elseif ($checkoutForm->getStatus() === Status::ALLEGRO_CANCELLED) {
105
106
} else {
107
$this->allegroReservation->placeReservation($checkoutForm);
108
109
+ $this->removeErrorLogIfExist($checkoutForm);
110
$connection->commit();
111
} catch (\Exception $e) {
112
$connection->rollBack();
0 commit comments