Problem/Motivation

Trying to uninstall this module results in:
commerce_funds: There is data for the bundle Funds balance (create a new wallet) on the entity type Payment method. Please remove all content before uninstalling the module.
I already deleted Transactions and Payment methods (gateway) that were using funds, but I can't find a way to delete Balances and uninstall the module.

Steps to reproduce

Install, set up a payment method, deposit funds.

Comments

kopeboy created an issue. See original summary.

kopeboy’s picture

Tried to create a View showing User balances (there are a few I did for test purposes) but there is no operations' links and trying to add Views Bulk Operations results in Error:
Typed property Drupal\views_bulk_operations\ViewsBulkOperationsEvent::$entityTypeIds must not be accessed before initialization in Drupal\views_bulk_operations\ViewsBulkOperationsEvent->getEntityTypeIds() (line 99 of /var/www/html/web/modules/contrib/views_bulk_operations/src/ViewsBulkOperationsEvent.php).

kopeboy’s picture

I tried with drush entity:delete and field:delete but there I can't find any balance or transaction entities or field to delete... I tried with:
- commerce_funds_transaction
- commerce_funds_balance
- commerce_funds_user_funds

I also removed all blocks supplied by this module.

aporie’s picture

You want to delete commerce payment methods: /admin/modules/uninstall/entity/commerce_payment_method or only commerce funds payment method. This has to be done manually.

but there is no operations

Why would you need to manually edit transactions? This module is not intended to perform such actions.

aporie’s picture

Status: Active » Closed (works as designed)