Discussions
PHPToolkit2013 Add/Update Customer Credit Card Info...
Hi there,
We are trying to attach a customer's payment information to the customer record. We can get it to post on the Sales Order, but not on the customer record. This is what we us to post it to a Sales Order:
$so->paymentMethod = new RecordRef();
$so->paymentMethod->internalId = $payment_method;
$so->creditCardProcessor = new RecordRef();
$so->creditCardProcessor->internalId = $cc_processor;
$so->getAuth = $get_auth;
$so->ccNumber = $cc_number;
$so->ccExpireDate = $cc_expire_date;
$so->ccName = $cc_name;
Your help is much appreciated.
Thank you,
james