When the customer clicks on "back to shop" once he is on the paypal page, there are two payments created (one in state cart and the other in state new) which creates further problems. it should normally have only one payment created, state "new".
Here a screen :
I think the problem is on all versions of this plugin.
When the customer clicks on "back to shop" once he is on the paypal page, there are two payments created (one in state cart and the other in state new) which creates further problems. it should normally have only one payment created, state "new". Here a screen :
I think the problem is on all versions of this plugin.
The solution is to remove this line 54 i think, but i m not sure. https://github.com/Sylius/PayPalPlugin/blob/master/src/Controller/CancelLastPayPalPaymentAction.php#L54