Reply
Highlighted
Member
Posts: 1
Registered: ‎03-05-2017

Setting Customer ID when creating a new ARB subscription

Hi all,

 

I'm having trouble finding documentation on how to set the merchant defined customer id when creating a new ARB subscription.

 

I'm writing custom PHP to access the AuthorizeNet API verison 1.9.2.

 

Any help would be welcomed!  Thanks!

Highlighted
Contributor
Posts: 14
Registered: ‎03-07-2017

Re: Setting Customer ID when creating a new ARB subscription

Here is the code 

/*customer profile*/
$customer = new AnetAPI\CustomerType();
$customer->setId(Set Customer ID);
$customer->setEmail(Set Customer Email);
$customer->setPhoneNumber(Set Phone);
$subscription->setCustomer($customer);