cancel
Showing results for 
Search instead for 
Did you mean: 

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!

asialee
Member
1 REPLY 1

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);

jay71134
Contributor