cancel
Showing results for 
Search instead for 
Did you mean: 

ARB Update Phone Number via Form

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.

hmhanson1316
Contributor
4 REPLIES 4

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.

 

 

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>