Khachatur Ashotyan Posted November 10, 2017 Share Posted November 10, 2017 Hi Friends! I need use AddOrder for renew domain. Client send me domain name and renew period with API (Payment Kiosk) and I should renew domain. Bellow my code example. Can you check all is OK? $command = 'AddOrder'; $postData = array( 'clientid' => '1', // domain owner userid 'domain' => array($domainname), 'domaintype' => array('renew'), 'paymentmethod' => 'easypay', 'domainrenewals' => array($domainname => $period) ); $adminUsername = 'ADMIN_USERNAME'; $results = localAPI($command, $postData, $adminUsername); Thanks for Advance, Khachatur. Link to comment Share on other sites More sharing options...
Recommended Posts