Active
Project:
Commerce Card on File
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2011 at 23:01 UTC
Updated:
3 May 2013 at 11:43 UTC
Hi,
Great module, especially in combination with the Commerce Recurring Framework (and some elbow grease).
It would be really great if the Delete callback was invoked on hook_user_cancel() as the card on file should never again be used at that stage.
If I get some time myself I will submit a patch.
Cheers,
Deciphered.
Comments
Comment #1
dwkitchen commentedComment #2
jpstrikesback commentedIt would be nice to introduce a new status of "Remote deleted" and then upon user cancel optionally delete the card (everywhere) or only delete the remote card and set the status to "Remote deleted" so there is/can be permanent record of what card was used on an order.
Comment #3
dwkitchen commentedWhen a card is deleted (this function exists, there just isn't a link to it on the card overview page) it is set to a "remote deleted" state. When cancelling a user account there are a number of options on what to do with the users content and the action could be configured to follow the same.
In a commerce store it is unlikely that you want to completely delete all records for a user as they will be needed for financial record keeping etc.
Comment #4
jpstrikesback commentedYou are totally correct (tho the status is set to "disabled")
So what we'd want are a few options and a default (that disables the card probably) on the card on file settings page for how to react to the various user_cancel methods (and the hook implementation) right?