[Bug] Duplication of payments once someone will decide to resign from PayPal as payment method
lchrusciel opened this issue · 0 comments
lchrusciel commented
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
- Add something to cart
- Address cart
- Select any shipping method
- Select "PayPal" payment method
- Complete checkout
- Few seconds wait may be needed here
- Click move back button on the left top corner
- See two payments
Possible Solution