How to access "add a card" page in Commerce Card on File? I would like to allow users to add a "card on file" outside of the payment workflow. I have authorize.net configured and I'm able to save a "card on file" during order completion. The cards list view appears correctly at the path user/1/cards:



This path is provided by commerce_cardonfile's implementation of hook_menu():

$items['user/%user/cards/add'] = array(


So logged in as user 1, I should be able to add a card from the page at the path  user/1/cards/add

But I get "Access denied"... How can I access a form to add a card outside of the payment workflow?
commerce_cardonfile looks for a 'create callback' from the payment method modules. commerce_authnet does not come with the callback, but this patch adds one:

add_card_on_file-2051357-21.patch

Here is the discussion: https://www.drupal.org/node/2051357

After I applied the patch, commerce_authnet_cim_cardonfile_create() was defined on both lines 760 and 1021. I renamed the latter so that Drupal was happy. Then "+ Add a card" became available on each user's "Stored cards" tab. And... it works! 

Can I get my +250 points back? ;)