Search our documentation...

Simply enter what you are looking for!

WHMCS Auto Accept Orders :: Installation

First, you will need to login to your client area and download your copy of “WHMCS Auto Accept Orders“.

From the client’s area left menu click “Services” -> “My Services“. Open the “View Details” box by click the arrow on the right, and click “Downloads“, in the following screen click the “Download” link.

Unzip the file, edit it with your favourite code editor (we recommend notepad++).

In the begining of the hook file, you will find our settings section –

/*********************
 Auto Accept Orders Settings
*********************/
function serverAutoAcceptOrders_settings()
{
	return array(
		'apiuser'		=> 'apiuser',
		'autosetup' 		=> false,
		'sendregistrar' 	=> false, 
		'sendemail' 		=> false, 
		'ispaid'		=> true, 
		'paymentmethod'		=> array(''), 
	);
}
/********************/

apiuser – one of the admins username
autosetup – determines whether product provisioning is performed
sendregistrar – determines whether domain automation is performed
sendemail – sets if welcome emails for products and registration confirmation emails for domains should be sent
ispaid – set to true if you want to accept only paid orders
paymentmethod – set the payment method you want to accept automaticly (leave empty to use all payment methods). Payment method should be exactly as it named in WHMCS (copy & paste the gateway name)

Once you finished the editing the settings, upload it to your WHMCS hooks folder (“includes/hooks“).

That’s all !