mukoshy Posted March 18, 2017 Share Posted March 18, 2017 I am having challenge with the following: $adminuser = '1'; $command = 'AddOrder'; $values = array( 'clientid' => '20', 'domain[0]' => 'domain1.com', 'domaintype[0]' => 'transfer', 'regperiod[0]' => '1', 'eppcode[0]' => 'dafsdfasd', 'domain[1]' => 'domain2.com', 'domaintype[1]' => 'transfer', 'regperiod[1]' => '1', 'eppcode[1]' => 'sdfasdf', 'paymentmethod' => 'mailin', ); But when I use the single order it works $adminuser = '1'; $command = 'AddOrder'; $values = array( 'clientid' => '20', 'domain' => 'domain1.com', 'domaintype' => 'transfer', 'regperiod' => '1', 'eppcode' => 'sdfasdf', 'paymentmethod' => 'mailin', ); // Call the localAPI function $results = localAPI($command, $values, $adminuser); Could someone please advice. This is on WHMCS 6.3 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.