Internal Server Error when updating SaleLine

in Development
Here is the response I get from lightspeed:
Internal Server 500
ErrorCall to a member function getType() on
null
The merchant id is 127785
The quote id is 2848
I the saleLine id 12622
here is the xml that does the update:
$saleLineXML = "
" . $result['itemID'] . "
" . $result['unitQuantity'] . "
" . $result['unitPrice'] . "
" . $result['normalUnitPrice'] . "
" . $unitPrice . "
" . $result['customerID'] . "
" . $result['employeeID'] . "
" . $result['itemID'] . "
" . $result['noteID'] . "
" . $result['shopID'] . "
" . $result['saleID'] . "
";
Let me know if I didn't get those id's right, thanks!
Internal Server 500
ErrorCall to a member function getType() on
null
The merchant id is 127785
The quote id is 2848
I the saleLine id 12622
here is the xml that does the update:
$saleLineXML = "
" . $result['itemID'] . "
" . $result['unitQuantity'] . "
" . $result['unitPrice'] . "
" . $result['normalUnitPrice'] . "
" . $unitPrice . "
" . $result['customerID'] . "
" . $result['employeeID'] . "
" . $result['itemID'] . "
" . $result['noteID'] . "
" . $result['shopID'] . "
" . $result['saleID'] . "
";
Let me know if I didn't get those id's right, thanks!
1 comment
Hey,
Are you still experiencing this error?
Thanks