diff --git a/src/Controller/CancelLastPayPalPaymentAction.php b/src/Controller/CancelLastPayPalPaymentAction.php index 9d587293..27d356a5 100644 --- a/src/Controller/CancelLastPayPalPaymentAction.php +++ b/src/Controller/CancelLastPayPalPaymentAction.php @@ -51,7 +51,6 @@ public function __invoke(Request $request): Response $paymentStateMachine = $this->stateMachineFactory->get($payment, PaymentTransitions::GRAPH); $paymentStateMachine->apply(PaymentTransitions::TRANSITION_CANCEL); - $this->orderPaymentProcessor->process($order); $this->objectManager->flush(); return new Response('', Response::HTTP_NO_CONTENT);