Obiously if you are dealing with a card on file type of setup where you will be automatically taking money, you would want the user to be able to step in and turn this off if they so choose.
when i activated the permission for users to cancel their own account, the billing system doesn't really handle this well.
Apologies if this is meant to be in the commerce_license module issue forum, but here is the use case scenario:
1. user signs up for monthly billing non-limited license to receive a role which they can then post certain content, a directory subscriptions site, if you will.
2. user then wants to cancel their account
3. once they do the license is still active under "anonymous"
4. when the cron runs to then check to see what orders to bill i get the following error
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalCommerceEntityController->buildQuery() (line 44 of /home/espyconnect/public_html/sites/all/modules/commerce/includes/commerce.controller.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->cacheGet() (line 350 of /home/espyconnect/public_html/includes/entity.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 173 of /home/espyconnect/public_html/includes/entity.inc).
To reset this, i have to delete the license, uninstall (not just deactivate) and then totally re-install the module to clear the error.
This would be a massive issue if it was a production site, thankfully it is not yet.
would love some help with this :)
Comments
Comment #1
capfive commentedComment #2
capfive commentedJust wondering if anyone has come across this before because I'm wondering if it is an error in my install or just the module in general