]> git.imager.perl.org - bse.git/commitdiff
fix order processing for the non-paypal case
authorTony Cook <tony@develop-help.com>
Mon, 8 Nov 2010 06:23:26 +0000 (06:23 +0000)
committertony <tony@45cb6cf1-00bc-42d2-bb5a-07f51df49f94>
Mon, 8 Nov 2010 06:23:26 +0000 (06:23 +0000)
site/cgi-bin/modules/BSE/Modules.pm
site/cgi-bin/modules/BSE/UI/Shop.pm

index 829f772127de2dd34357d4c01824d88030bc65d5..889101b1e250c1a934a2b0031ae3482be507de36 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 
 # automatically generated
 
-our $hash = "fdabc46aba81e80d62733c19a197fc94";
+our $hash = "ed24611e822d70851d7d6a80a2fd4ef1";
 
 our %versions =
   (
@@ -185,7 +185,7 @@ our %versions =
   "BSE::UI::Page" => "1.000",
   "BSE::UI::Redirect" => "1.000",
   "BSE::UI::Search" => "1.000",
-  "BSE::UI::Shop" => "1.000",
+  "BSE::UI::Shop" => "1.001",
   "BSE::UI::SiteUserUpdate" => "1.000",
   "BSE::UI::SiteuserCommon" => "1.000",
   "BSE::UI::SubAdmin" => "1.000",
index c4a7ce26aa88d811aa196f2ec4706b9be8e60b23..ba0109cc8ed13e8425244c77e2806e39ab897c11 100644 (file)
@@ -18,7 +18,7 @@ use BSE::Shipping;
 use BSE::Countries qw(bse_country_code);
 use BSE::Util::Secure qw(make_secret);
 
-our $VERSION = "1.000";
+our $VERSION = "1.001";
 
 use constant MSG_SHOP_CART_FULL => 'Your shopping cart is full, please remove an item and try adding an item again';
 
@@ -1089,7 +1089,7 @@ sub req_payment {
   $order->{complete} = 1;
   $order->save;
 
-  $class->_finish_order($order, $req);
+  $class->_finish_order($req, $order);
 
   return BSE::Template->get_refresh($req->user_url(shop => 'orderdone'), $req->cfg);
 }