$this->cart->contents() is empty. when ever i try to call function from Postman |
Hi,
I am trying to show cart items. but when ever i try to call function from Postman (http://www.xyz.com/Order/OrderSuccess) is shows empty array and if i call same function in browser(http://www.xyz.com/Order/OrderSuccess) it shows array of items. public function OrderSuccess() { $cart =$this->cart->contents(); echo json_encode($cart); } |
Messages In This Thread |
$this->cart->contents() is empty. when ever i try to call function from Postman - by ktmonty - 08-21-2018, 11:46 AM
RE: $this->cart->contents() is empty. when ever i try to call function from Postman - by jreklund - 08-21-2018, 12:01 PM
|