Jump to content

API AddOrder returns NULL


bluezero

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated