I thought it would be nice to do something like this:
>>> customer = dinero.Customer.retrieve('xxx')
>>> card = customer.cards[0]
>>> print 'Card on File:'
>>> print '{} ({})'.format(card.card_type, card.last_4)
But it doesn't work. This seems to be a limitation on the Authorize.net side though.
http://community.developer.authorize.net/t5/Integration-and-Testing/Retrieve-Credit-Card-Type-of-Payment-Profile-using-CIM/td-p/4585/page/2
I thought I would just report this in case anybody else was having this problem.
I thought it would be nice to do something like this:
But it doesn't work. This seems to be a limitation on the Authorize.net side though.
http://community.developer.authorize.net/t5/Integration-and-Testing/Retrieve-Credit-Card-Type-of-Payment-Profile-using-CIM/td-p/4585/page/2
I thought I would just report this in case anybody else was having this problem.