Hi,
so i am trying to addOrder via API, this is the data:
array (
'action' => 'addorder',
'clientid' => '1',
'pid[0]' => '2',
'domain[0]' => 'sokker.cz - sokker',
'billingcycle[0]' => 'monthly',
'addons' => '',
'customfields' => 'YToxOntpOjA7YTozOntzOjg6InN0cmVuZ3RoIjtzOjM6ImxvdyI7czoyOiJrdyI7czo2OiJzb2trZXIiO3M6MzoidXJsIjtzOjk6InNva2tlci5jeiI7fX0=',
'domaintype' => 'register',
'regperiod' => '1',
'paymentmethod' => 'paypal',
)
The Order is created, but all it returns is NULL. instead of:
result = success
orderid = xxx # Order ID
invoiceid = xxx # Invoice ID
productids = comma separated list of service IDs created by the order
addonids = comma separated list of addon IDs created by the order
domainids = comma separated list of domain IDs created by the order
What i also noticed is that no invoice was created.
Any ideas?
Thank you