Page 1 of 1

checkout as paypal show Undefined variable: order_status_id

Posted: Thu Jan 19, 2017 3:41 am
by 8pmshop
My website right now using one page checkout and with SSL.

when customer try to check out as paypal, order lost and shows

Notice: Undefined variable: order_status_id in /home/public_html/uwlcd.com/catalog/controller/payment/pp_express.php on line 1414

Warning: Cannot modify header information - headers already sent by

(output started at /home/public_html/uwlcd.com/catalog/controller/startup/error.php:34) in

/home/uwlcd.com/vqmod/vqcache/vq2-system_library_response.php on line 12



1. IPN response url inside Paypal to url : https://uwlcd.com/?route=payment/pp_express/callback won't works for me.

Now I try to initializing order_status_id as pending before 1414.

Re: checkout as paypal show Undefined variable: order_status

Posted: Thu Jan 19, 2017 4:41 am
by 8pmshop
add code : $order_status_id = "2";

to line 1355 below the $this->load->model('checkout/order');

it can help , the order will show .