mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2010-02-05 10:34 pm

[dw-free] Support Google Checkout

[commit: http://hg.dwscoalition.org/dw-free/rev/4f1c7abf7f10]

http://bugs.dwscoalition.org/show_bug.cgi?id=2321

This needs to be under the SSL page, and we need to not redirect if payments
are off.

Patch by [staff profile] mark.

Files modified:
  • cvs/multicvs.conf
  • htdocs/shop/gco_notify.bml
--------------------------------------------------------------------------------
diff -r 01151f6f3d37 -r 4f1c7abf7f10 cvs/multicvs.conf
--- a/cvs/multicvs.conf	Fri Feb 05 22:07:40 2010 +0000
+++ b/cvs/multicvs.conf	Fri Feb 05 22:34:45 2010 +0000
@@ -101,6 +101,7 @@ dw-free/htdocs/tools/importer.bml       
 dw-free/htdocs/tools/importer.bml         ssldocs/tools/importer.bml
 dw-free/htdocs/manage/externalaccount.bml ssldocs/manage/externalaccount.bml
 dw-free/htdocs/admin/impersonate.bml      ssldocs/admin/impersonate.bml
+dw-free/htdocs/shop/gco_notify.bml        ssldocs/shop/gco_notify.bml
 
 dw-free/src/DSMS/lib/DSMS                 cgi-bin/DSMS/
 
diff -r 01151f6f3d37 -r 4f1c7abf7f10 htdocs/shop/gco_notify.bml
--- a/htdocs/shop/gco_notify.bml	Fri Feb 05 22:07:40 2010 +0000
+++ b/htdocs/shop/gco_notify.bml	Fri Feb 05 22:34:45 2010 +0000
@@ -18,9 +18,6 @@
     use strict;
     use vars qw( %FORM );
 
-    return BML::redirect( "$LJ::SITEROOT/" )
-        unless LJ::is_enabled( 'payments' );
-
     DW::Shop::Engine::GoogleCheckout->process_notification( \%FORM );
 
     return "failure";
--------------------------------------------------------------------------------