When placing an order, all is well until the final step. Everything is in the $_SESSION array, but $_SESSION['payment'] is null. This causes a redirect to the home page with no explanation. I've dug through the code to try to find why this is, but am empty handed. I'd really appreciate if someone could at least point me in the right direction for solving this. TIA.
From the top of modules/pages/checkout_process/header_php.php:
Note: can't get that var_dump to format properly here. Just scroll all the way to the right to see the 'payment' key.Code:array (size=28) 'customers_host_address' => string 'localhost' (length=9) 'SESSION_USER_AGENT' => string 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:29.0) Gecko/20100101 Firefox/29.0' (length=81) 'cartID' => string '95231' (length=5) 'cart' => object(shoppingCart)[13] public 'contents' => array (size=1) 5965 => array (size=1) ... public 'total' => float 9.9 public 'weight' => float 0 public 'cartID' => string '95231' (length=5) public 'content_type' => string 'physical' (length=8) public 'free_shipping_item' => int 0 public 'free_shipping_weight' => int 0 public 'free_shipping_price' => int 0 private 'observers' (base) => array (size=0) empty 'navigation' => object(navigationHistory)[14] public 'path' => array (size=3) 0 => array (size=4) ... 1 => array (size=4) ... 2 => array (size=4) ... public 'snapshot' => array (size=0) empty private 'observers' (base) => array (size=0) empty 'language' => string 'english' (length=7) 'languages_id' => string '1' (length=1) 'languages_code' => string 'en' (length=2) 'check_valid' => string 'true' (length=4) 'currency' => string 'USD' (length=3) 'new_products_id_in_cart' => string '5965' (length=4) 'updateExpirations' => boolean true 'session_counter' => boolean true 'customers_ip_address' => string '::1' (length=3) 'customer_id' => string '1' (length=1) 'customer_default_address_id' => string '1994' (length=4) 'customers_authorization' => string '0' (length=1) 'customer_first_name' => string 'George' (length=6) 'customer_country_id' => string '223' (length=3) 'customer_zone_id' => string '56' (length=2) 'valid_to_checkout' => boolean true 'messageToStack' => string '' (length=0) 'cc_id' => string '' (length=0) 'order_number_created' => int 1739 '' => string 'c_ot_coupon' (length=11) 'sendto' => string '1994' (length=4) 'payment' => null 'shipping' => array (size=3) 'id' => string 'table_table' (length=11) 'title' => string 'Best Way (Table Rate)' (length=21) 'cost' => float 6


Reply With Quote

