This method allows you to begin a recurring billing cycle for an individual customer using their CustNum (unique customer number assigned by the gateway) as a reference. If you have lost or cannot remember the customer's CustNum, use the searchCustomerID method to retrieve it.
The recurring billing cycle can begin on any date you choose and can be set to any of the following cycles: Daily, Weekly, Bi-Weekly (every 2 weeks), Monthly, Bi-Monthly (every 2 months), Quarterly, Bi-Annually (every 6 months), and Annually.
You can also set the start and end dates, amount to be charged, and the total number of transactions for the recurring billing cycle.
Once a customer has been added to a recurring billing cycle, you can monitor and change the recurring billing settings from within the merchant console.
You can disable a customer's recurring billing cycle at any time using the disableCustomer method.
For more information about recurring billing, please refer to the support documentation in the merchant console.
See also runCustomerTransaction, disableCustomer, deleteCustomer, searchCustomerID, getCustomer, searchCustomers, getCustomerHistory, addCustomer, addCustomerPaymentMethod, deleteCustomerPaymentMethod, updateCustomer, quickUpdateCustomer
For directions on how to set up the WSDL link, create “$token” and “$client”, go to PHP Soap How-to.
<?php
try {
$custnum="12345678";
$res=$client->enableCustomer($token, $custnum);
}
catch(SoapFault $e) {
echo "soap fault: " .$e->getMessage();
}
?>
For directions on how to set up the WSDL link and create the “token” and “client” variables, go to the C Sharp .Net Soap How-to.
string custNum = "89147";
Boolean response;
try
{
response = client.enableCustomer(token, custNum);
if (response)
{
MessageBox.Show(string.Concat("Succesfull"));
}
else MessageBox.Show(string.Concat("Error!"));
}
catch (Exception err)
{
MessageBox.Show(err.Message);
}