johny.pna Posted July 22, 2011 Share Posted July 22, 2011 Hi, when i try to update producy via api i receive response: request data: $data = array( 'clientid' => 84, 'serviceid' => 116, 'type' => 'product', 'newproductid' => 10, 'newproductbillingcycle' => 'monthly', 'paymentmethod' => 'paypal', 'ordernotes' => 'do du....', 'calconly' => false, ); print_r($w->doRequest('upgradeproduct', $data)); response: [result] => success [oldproductid] => 9 [oldproductname] => free [newproductid] => 10 [newproductname] => basic [daysuntilrenewal] => 30 [totaldays] => 30 [newproductbillingcycle] => monthly [price] => $1.00 USD [id] => 116 [orderid] => 126 [order_number] => 6339632159 [invoiceid] => 0 no invoice is created, in table tblorders paymentmethod is empty,and payment method witch i send with request is writen in field promocode geting order info i receive: print_r($w->doRequest('getorders',array('id' => 126))); Array ( [result] => success [totalresults] => 1 [startnumber] => 0 [numreturned] => 1 [orders] => Array ( [order] => Array ( [0] => Array ( [id] => 126 [ordernum] => 6339632159 [userid] => 84 [contactid] => 0 [date] => 2011-07-22 16:54:51 [nameservers] => [transfersecret] => [renewals] => [promocode] => paypal [promotype] => [promovalue] => [amount] => 0.00 [paymentmethod] => [invoiceid] => 0 [status] => Pending [ipaddress] => xxx.xxx.xxx.xxx [fraudmodule] => [fraudoutput] => [notes] => do du.... [paymentmethodname] => [paymentstatus] => [name] => [currencyprefix] => $ [currencysuffix] => USD [lineitems] => Array ( ) ) ) ) ) pls help 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.