журнал журнал (shhh) wrote in changelog,
журнал журнал
shhh
changelog

[ljcom] r12925: LJSUP-14321: Cannot choose credit card m...

Committer: nnikulochkina
LJSUP-14321: Cannot choose credit card method with old implementation
U   trunk/cgi-bin/LJ/Pay/Method/CreditCard.pm
Modified: trunk/cgi-bin/LJ/Pay/Method/CreditCard.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/Method/CreditCard.pm	2012-11-20 12:10:40 UTC (rev 12924)
+++ trunk/cgi-bin/LJ/Pay/Method/CreditCard.pm	2012-11-21 05:34:19 UTC (rev 12925)
@@ -43,8 +43,6 @@
 
     my $type = LJ::Request->get_param('type');
 
-    return LJ::Request->redirect($cart->cart_error_link(siteroot => $LJ::SITEROOT)) unless $type;
-    
     my @params = ( 
         LJ::Pay::RecBill->valid_countries,
         $err,
@@ -65,6 +63,9 @@
     };
 
     if (LJ::is_enabled('dengionline')) {
+
+        return LJ::Request->redirect($cart->cart_error_link(siteroot => $LJ::SITEROOT)) unless $type;
+    
         if ( grep /$type/, @LJ::DENGIONLINE_VALID_CARDS) {
             my $result = LJ::DengiOnline->create_bill ( cart_id => $cart_id );
 

Tags: ljcom, nikulochkina, nnikulochkina, pm
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments