Re: Re: Future Versions. I've played

Posts: 80
Joined: 12/28/2007
Bug FinderGetting busy with the Ubercode.

You should be able to get the credit card expiration of an existing card, as long as you know the user and order:

$profile_id = uc_cim_get_profile_id($user_id);
$credit_card = uc_cim_get_payment_profiles($profile_id, $order['cim_ppid']);

You should then be able to get the expiration from:

$credit_card['cc_exp_year'] and $credit_card['cc_exp_month']

You should then be able to use your old method, no different with CIM enabled, I think.

Reuse Credit Card By: VitaLife (25 replies) Sun, 04/27/2008 - 11:45