API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

order_create not returning orderhandle

0
it seems i don't get the order handle from the creation
        $order_handle = $this-client-Order_Create(array(
            'debtorHandle' = $debtor_handle
        ))-Order_Create_CreateResult;
       
        var_dump($order_handle);

this just returns NULL

the order is created with the correct debtor but i cant add anything to it or change it, so what am i doing wrong?
created Dec 7, 2011 by dmdisco
0% Accept Rate
Q 1 A 1 C 0

1 Answer

0
never mind found the typo
      $order_handle = $this-client-Order_Create(array(
         'debtorHandle' = $debtor_handle
      ))-Order_CreateResult;
      
      var_dump($order_handle);
answered Dec 7, 2011 by dmdisco
Visma e-conomic A/S
...