Re: Re: Re: Re: Re: Re: File downloads stopped working for order

Posts: 332
Joined: 08/07/2007
Administrator

I've going through a debug session with Steph and I can confirm what's happening is the order object being passed to uc_file_order has a uid == 0. This is what's causing the problem. Unfortunately, since I'm not that familiar with the uc_cart checkout code and how workflow-NG updates when order balance == $0, I can't say for sure what is going wrong here. To do illuminate further, I placed in uc_file_order a dump for the $op value and the $order object value. This is what was printed out upon submitting an order as an anon user (payment was completed with a dummy 4111... CC):

  • HOOK ORDER ($op == load)
  • ORDER OBJECT (O:8:"stdClass":31:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}})
  • HOOK ORDER ($op == total)
  • ORDER OBJECT (O:8:"stdClass":32:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}s:10:"line_items";a:1:{i:0;a:5:{s:12:"line_item_id";s:8:"subtotal";s:4:"type";s:8:"subtotal";s:5:"title";s:8:"Subtotal";s:6:"amount";d:1;s:6:"weight";i:0;}}})
  • HOOK ORDER ($op == load)
  • ORDER OBJECT (O:8:"stdClass":31:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}})
  • HOOK ORDER ($op == total)
  • ORDER OBJECT (O:8:"stdClass":32:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}s:10:"line_items";a:1:{i:0;a:5:{s:12:"line_item_id";s:8:"subtotal";s:4:"type";s:8:"subtotal";s:5:"title";s:8:"Subtotal";s:6:"amount";d:1;s:6:"weight";i:0;}}})
  • HOOK ORDER ($op == load)
  • ORDER OBJECT (O:8:"stdClass":31:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}})
  • HOOK ORDER ($op == total)
  • ORDER OBJECT (O:8:"stdClass":32:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}s:10:"line_items";a:1:{i:0;a:5:{s:12:"line_item_id";s:8:"subtotal";s:4:"type";s:8:"subtotal";s:5:"title";s:8:"Subtotal";s:6:"amount";d:1;s:6:"weight";i:0;}}})
  • HOOK ORDER ($op == load)
  • ORDER OBJECT (O:8:"stdClass":31:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}})
  • HOOK ORDER ($op == total)
  • ORDER OBJECT (O:8:"stdClass":32:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}s:10:"line_items";a:1:{i:0;a:5:{s:12:"line_item_id";s:8:"subtotal";s:4:"type";s:8:"subtotal";s:5:"title";s:8:"Subtotal";s:6:"amount";d:1;s:6:"weight";i:0;}}})
  • HOOK ORDER ($op == load)
  • ORDER OBJECT (O:8:"stdClass":31:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}})
  • HOOK ORDER ($op == total)
  • ORDER OBJECT (O:8:"stdClass":32:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}s:10:"line_items";a:1:{i:0;a:5:{s:12:"line_item_id";s:8:"subtotal";s:4:"type";s:8:"subtotal";s:5:"title";s:8:"Subtotal";s:6:"amount";d:1;s:6:"weight";i:0;}}})
  • HOOK ORDER ($op == can_update)
  • ORDER OBJECT (O:8:"stdClass":32:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}s:10:"line_items";a:1:{i:0;a:5:{s:12:"line_item_id";s:8:"subtotal";s:4:"type";s:8:"subtotal";s:5:"title";s:8:"Subtotal";s:6:"amount";d:1;s:6:"weight";i:0;}}})
  • HOOK ORDER ($op == update)
  • ORDER OBJECT (O:8:"stdClass":32:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}s:10:"line_items";a:1:{i:0;a:5:{s:12:"line_item_id";s:8:"subtotal";s:4:"type";s:8:"subtotal";s:5:"title";s:8:"Subtotal";s:6:"amount";d:1;s:6:"weight";i:0;}}})
  • HOOK ORDER UPDATE (USER ID 0)
  • HOOK ORDER ($op == total)
  • ORDER OBJECT (O:8:"stdClass":32:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}s:10:"line_items";a:1:{i:0;a:5:{s:12:"line_item_id";s:8:"subtotal";s:4:"type";s:8:"subtotal";s:5:"title";s:8:"Subtotal";s:6:"amount";d:1;s:6:"weight";i:0;}}})
  • HOOK ORDER ($op == load)
  • ORDER OBJECT (O:8:"stdClass":31:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:9:"completed";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}})
  • HOOK ORDER ($op == total)
  • ORDER OBJECT (O:8:"stdClass":32:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:9:"completed";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}s:10:"line_items";a:1:{i:0;a:5:{s:12:"line_item_id";s:8:"subtotal";s:4:"type";s:8:"subtotal";s:5:"title";s:8:"Subtotal";s:6:"amount";d:1;s:6:"weight";i:0;}}})
  • HOOK ORDER ($op == submit)
  • ORDER OBJECT (O:8:"stdClass":32:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:11:"in_checkout";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:15:"payment_details";a:7:{s:7:"cc_type";s:4:"Visa";s:8:"cc_owner";s:10:"Shawn Conn";s:9:"cc_number";s:16:"4111111111111111";s:12:"cc_exp_month";s:1:"8";s:11:"cc_exp_year";s:4:"2008";s:6:"cc_cvv";s:3:"111";s:7:"cc_bank";N;}s:10:"line_items";a:1:{i:0;a:5:{s:12:"line_item_id";s:8:"subtotal";s:4:"type";s:8:"subtotal";s:5:"title";s:8:"Subtotal";s:6:"amount";d:1;s:6:"weight";i:0;}}})
  • Modified uc_file.module
  • HOOK ORDER ($op == load)
  • ORDER OBJECT (O:8:"stdClass":30:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:9:"completed";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}})
  • HOOK ORDER ($op == total)
  • ORDER OBJECT (O:8:"stdClass":31:{s:8:"order_id";s:2:"75";s:3:"uid";s:1:"0";s:12:"order_status";s:9:"completed";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:10:"line_items";a:1:{i:0;a:5:{s:12:"line_item_id";s:8:"subtotal";s:4:"type";s:8:"subtotal";s:5:"title";s:8:"Subtotal";s:6:"amount";d:1;s:6:"weight";i:0;}}})
  • HOOK ORDER ($op == load)
  • ORDER OBJECT (O:8:"stdClass":30:{s:8:"order_id";s:2:"75";s:3:"uid";s:2:"25";s:12:"order_status";s:9:"completed";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}})
  • HOOK ORDER ($op == total)
  • ORDER OBJECT (O:8:"stdClass":31:{s:8:"order_id";s:2:"75";s:3:"uid";s:2:"25";s:12:"order_status";s:9:"completed";s:11:"order_total";s:4:"1.00";s:13:"primary_email";s:16:"123@fakeemail.com";s:19:"delivery_first_name";s:0:"";s:18:"delivery_last_name";s:0:"";s:14:"delivery_phone";s:0:"";s:16:"delivery_company";s:0:"";s:16:"delivery_street1";s:0:"";s:16:"delivery_street2";s:0:"";s:13:"delivery_city";s:0:"";s:13:"delivery_zone";s:1:"0";s:20:"delivery_postal_code";s:0:"";s:16:"delivery_country";s:3:"840";s:18:"billing_first_name";s:5:"Shawn";s:17:"billing_last_name";s:4:"Conn";s:13:"billing_phone";s:0:"";s:15:"billing_company";s:0:"";s:15:"billing_street1";s:16:"123 Fake Street";s:15:"billing_street2";s:0:"";s:12:"billing_city";s:14:"Jeffersonville";s:12:"billing_zone";s:2:"24";s:19:"billing_postal_code";s:5:"47130";s:15:"billing_country";s:3:"840";s:14:"payment_method";s:6:"credit";s:4:"data";a:1:{s:8:"new_user";a:2:{s:4:"name";s:10:"ShawnTest3";s:4:"pass";s:4:"test";}}s:7:"created";s:10:"1206307607";s:8:"modified";s:10:"1206307607";s:8:"products";a:1:{i:0;O:8:"stdClass":11:{s:16:"order_product_id";s:3:"108";s:8:"order_id";s:2:"75";s:3:"nid";s:3:"207";s:5:"title";s:6:"hdtfgn";s:12:"manufacturer";s:0:"";s:5:"model";s:3:"431";s:3:"qty";s:1:"1";s:4:"cost";s:4:"0.00";s:5:"price";s:4:"1.00";s:6:"weight";s:1:"0";s:4:"data";a:4:{s:10:"attributes";a:0:{}s:5:"model";N;s:6:"module";s:10:"uc_product";s:9:"shippable";s:1:"0";}}}s:10:"line_items";a:1:{i:0;a:5:{s:12:"line_item_id";s:8:"subtotal";s:4:"type";s:8:"subtotal";s:5:"title";s:8:"Subtotal";s:6:"amount";d:1;s:6:"weight";i:0;}}})

Interestingly enough, $op == "submit" is being fired after $op == "update". That runs counter to what I'd think sequence should be. Hopefully, Ryan & Lyle can shed some light on this subject.

--

-Shawn Conn: If the Name Don't Rhyme It Ain't Mine

File downloads stopped working for orders by anonymous users By: stephthegeek@drupal.org (33 replies) Fri, 03/21/2008 - 18:32