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

[ljcom] r12886: LJSUP-14234: Implement server part for s...

Committer: nnikulochkina
LJSUP-14234: Implement server part for shop payment pages
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-13 13:50:12 UTC (rev 12885)
+++ trunk/cgi-bin/LJ/Pay/Method/CreditCard.pm	2012-11-13 14:05:48 UTC (rev 12886)
@@ -58,6 +58,7 @@
             'has_coppa'  => $has_coppa,
             'amt_charge' => $amt_charge,
             'type'       => $type,
+            'cart_id'    => $cart_id,
         }
     );
 
@@ -70,7 +71,7 @@
 
             unless ($result && $result->{status} &&
                     $result->{status} eq 'OK') {
-                LJ::Request->redirect("$LJ::SITEROOT/shop/cart.bml?pay_err=1&cart=$cart_id");
+                LJ::Request->redirect("$LJ::SITEROOT/shop/cart.bml?pay_err=1&cart=${cart_id}");
                 return;  
             }
             

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