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] disabled method ? Cant remove paypal method from list #265

Open
Pablossoo opened this issue Oct 21, 2022 · 7 comments
Open

[Bug] disabled method ? Cant remove paypal method from list #265

Pablossoo opened this issue Oct 21, 2022 · 7 comments
Labels

Comments

@Pablossoo
Copy link

How Can I switch off PayPal after integration? there not have no radio button
active/deactivate payments

@Pablossoo Pablossoo added the Bug label Oct 21, 2022
@LucaGallinari
Copy link
Contributor

Hi @Pablossoo, you are right, there is no enabled/disabled switch but there is a switch for each channel so that you can enable/disable it on a specific channel, you can use this/these toggle/s instead and it should works.

@Pablossoo
Copy link
Author

Hi thanks for the answer. I can see this button, but if I wanted to remove PayPal from the list, I got an error stating that it is impossible, if the plugin is active .. what for reason the plugin removes this toogle switch ?
I even deleted all webhooks from my PayPal account and still can't remove paypal from the list ... I think it's a critical bug 🐛

@Pablossoo Pablossoo changed the title [Bug] disabled method ? [Bug] disabled method ? Cant remove paypal method from list Oct 21, 2022
@Pablossoo
Copy link
Author

@LucaGallinari could you answer me please?

@LucaGallinari
Copy link
Contributor

It could be due to the fact that you placed some orders with that payment method thus is not allowing you to remove it. You should remove these orders instead or, better, remove the selected payment method from them. But both these actions is not something you can do from the admin.

@Pablossoo
Copy link
Author

Thanks, so it's probably a very big mistake, because in my case, when I integrated the sandbox, now I can't switch to the prod version, because I can't remove or add another paypal method

@Zales0123
Copy link
Member

Hello @Pablossoo! Indeed, in such a situation it can cause an issue :/ I will be tagging the 1.5.0 version today to support fully the newest 1.12 version of Sylius and then will come back to this issue and propose some solution.
In the meantime, as a workaround, I suppose you could override the PayPalPaymentMethodListener so it would take into account does the currently created PayPal payment method is enabled or now - so it would allow you to create a new one.

Hopefully, we will be able to fix this issue soon 🖖

@Pablossoo
Copy link
Author

Hello @Zales0123, thanks for information !

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

3 participants