Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] When the customer clicks on "back to shop" once he is on the paypal page, there are two payments created #262

Open
costa-jeremy opened this issue Sep 28, 2022 · 0 comments
Labels

Comments

@costa-jeremy
Copy link

costa-jeremy commented Sep 28, 2022

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 :
image

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

@costa-jeremy costa-jeremy changed the title [Bug] ... [Bug] When the customer clicks on "back to shop" once he is on the paypal page, there are two payments create Sep 28, 2022
@costa-jeremy costa-jeremy changed the title [Bug] When the customer clicks on "back to shop" once he is on the paypal page, there are two payments create [Bug] When the customer clicks on "back to shop" once he is on the paypal page, there are two payments created Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant