Skip to content

Ability to Delete or Deactivate Payment Providers from UI #9

@jvirg

Description

@jvirg

Currently, there is no way to remove or deactivate a payment provider (e.g., Stripe or PayPal) via the UI once it has been added. This presents a problem when testing in a local environment with sandbox credentials, as old/test providers remain visible to customers in the payment dropdown.

Expected Behavior:

  • Admins should be able to either:
    • Delete a payment provider from the UI.
    • Or deactivate it so it no longer appears as an option during checkout.

Actual Behavior:

  • Payment providers marked as "active" in the database remain in the system without any way to remove or hide them from the UI.
  • The only workaround is to connect to the database manually and run DELETE FROM payment_methods WHERE id = X, which is not user-friendly.

Suggested Solution:

  • Add a "Delete" button or an "Active/Inactive" toggle in the "Settings > Payment Providers" admin panel.
  • Optionally, allow viewing inactive providers in a separate tab for easy reactivation.

Environment

  • Docker/local install
  • PostgreSQL backend

Useful when:

  • Testing with sandbox credentials
  • Changing API keys or merchant accounts
  • Cleaning up unused configurations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions