<p>Commerce soft deletes payment methods instead of hard deletes them because even if a payment method is no longer in use, you still need to be able to have a reference to them for existing orders.</p>

<p>You can "un-delete" the payment method by going into the <code>craft_commerce_paymentmethods</code> table in the database and changing the <code>isArchived</code> column from <code>1</code> back to <code>0</code>.</p>

CC BY-SA 3.0
2016-07-26T23:34:33.070Z
2016-07-26T23:34:33.070Z
Brad Bell
<p>I was just playing around with my payment methods. I deleted them. Then I tried to re-add them with the same names and settings but I couldn't. "Name "Manual" has already been taken." </p>

<p>Apparently they have been soft deleted? How do you reinstate a soft delete?</p>

<plugin-craftcommerce>
Craft Commerce: Soft Delete on Payment Methods?
# Craft Commerce: Soft Delete on Payment Methods?

(Asked by: username_0 on 2016-07-26)

I was just playing around with my payment methods. I deleted them. Then I tried to re-add them with the same names and settings but I couldn't. "Name "Manual" has already been taken."

Apparently they have been soft deleted? How do you reinstate a soft delete?

**Tags:** plugin-craftcommerce

---

## 1 answers

### Answer by username_1 on 2016-07-26. Score: 3 | Accepted answer

Commerce soft deletes payment methods instead of hard deletes them because even if a payment method is no longer in use, you still need to be able to have a reference to them for existing orders.

You can "un-delete" the payment method by going into the `craft_commerce_paymentmethods` table in the database and changing the `isArchived` column from `1` back to `0`.


---

