Description
When during checkout we will select PayPal payment method and then move back the main website, the payment duplicates.
Taking a look at admin panel, suggest that by accident we are creating two new payments - one in state new and another one in state cart
Which can be related to the two payments visible on the first screen. I'm surprised that cart payment is visible both in admin and in the payment selection view, but it is still more probable than showing cancelled payment in the shop.
SyliusPayPalPlugin version affected: ^1.5.x
Description
When during checkout we will select PayPal payment method and then move back the main website, the payment duplicates.
Taking a look at admin panel, suggest that by accident we are creating two new payments - one in state new and another one in state cart
Which can be related to the two payments visible on the first screen. I'm surprised that cart payment is visible both in admin and in the payment selection view, but it is still more probable than showing cancelled payment in the shop.
Steps to reproduce
Possible Solution