I have a form developed to allow the end user to update their credit card and billing address. But I am running into trouble when it comes to updating the phone number field. I cannot find an example in the SDK for updating a phone number, so this is what I've tried.
$billTo->setPhoneNumber($phoneNumber);
Are there any solutions because this generates an blank response after form submission.
07-06-2016 08:06 AM
https://developer.authorize.net/api/reference/#recurring-billing-update-a-subscription
Bill to don't have a phone#
07-06-2016 08:48 AM
Thank you! I'm having trouble figuring out is what the correct line of code is. I see that phone number and email fall under the customer element, but I do not see an example in the ARB SDK. Every thing I try still generates a blank response.
07-06-2016 08:57 AM
I'm not sure how to embed this, but this XML works. I'm struggling to convert this over to PHP
<subscription> <payment> <creditCard> <cardNumber>4111111111111111</cardNumber> <expirationDate>2020-12</expirationDate> </creditCard> </payment> <customer> <phoneNumber>000-000-0000</phoneNumber> </customer> </subscription>
07-06-2016 10:06 AM
07-06-2016 03:12 PM