# Uninstalled Plugin's payment method gets activated from Backend

**URL:** <https://forum.shopware.com/t/uninstalled-plugins-payment-method-gets-activated-from-backend/99047>\
**Category:** Shopware 6 (English)\
**Tags:** general, administration, programming\
**Created:** [23. März 2023 um 07:17 UTC](https://forum.shopware.com/t/uninstalled-plugins-payment-method-gets-activated-from-backend/99047 "2023-03-23T07:17:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![athira.di](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@athira.di](https://forum.shopware.com/u/athira.di)\
**Post date:** [23. März 2023 um 07:17 UTC](https://forum.shopware.com/t/uninstalled-plugins-payment-method-gets-activated-from-backend/99047/1 "2023-03-23T07:17:48Z")

</div>

Hi, I have a development site with shopware setup. While testing a payment plugin, I noticed that after uninstalling a plugin, the payment method is still there among payment methods in inactive state. When a user again activates a payment method among those payment methods which were deactivated after plugin uninstall, and the payment method is added in sales channel, there is error while checkout. Is there a solution for this?

---

<div class="post-metadata">

**Author:** ![MarkusFischer](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/markusfischer/32/13693_2.png) [@MarkusFischer](https://forum.shopware.com/u/MarkusFischer)\
**Post date:** [23. März 2023 um 15:21 UTC](https://forum.shopware.com/t/uninstalled-plugins-payment-method-gets-activated-from-backend/99047/2 "2023-03-23T15:21:32Z")

</div>

Hi athira.di,  
if you de-activate a payment extension, it doesn’t mean, that the payment methods get removed from the sales channel settings. The payment methods itself may also be active.  
Kind regards,  
Markus

---

<div class="post-metadata">

**Author:** ![athira.di](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@athira.di](https://forum.shopware.com/u/athira.di)\
**Post date:** [24. März 2023 um 12:18 UTC](https://forum.shopware.com/t/uninstalled-plugins-payment-method-gets-activated-from-backend/99047/3 "2023-03-24T12:18:38Z")

</div>

Hi MarkusFischer, I understand that the payment method does not get removed from sales channel. Also I understand that after uninstalling the payment extension, payment method remains for transaction history. But can payment method not get activated in case the payment extension is not there any more? Can you restrict it getting activated by user to avoid errors?
