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

[ljcom] r12872: LJSUP-14200: Implement integration with ...

Committer: nnikulochkina
LJSUP-14200: Implement integration with DengiOnline system
U   trunk/bin/upgrading/en_LJ.dat
U   trunk/cgi-bin/LJ/Widget/Shop/Cart.pm
Modified: trunk/bin/upgrading/en_LJ.dat
===================================================================
--- trunk/bin/upgrading/en_LJ.dat	2012-11-08 13:29:04 UTC (rev 12871)
+++ trunk/bin/upgrading/en_LJ.dat	2012-11-09 06:36:02 UTC (rev 12872)
@@ -6837,6 +6837,8 @@
 
 pay.cart.note.unusedtancoupon=<b>Warning:</b> You are using [[amtused]] worth of gift certificates, which are <i>only</i> valid for intangible purchases, such as Paid Accounts and add-on Features. However, [[amtunused]] of that is currently unused. If you choose to check out now, the [[amtunused]] will be lost!
 
+pay.cart.payment_error=Payment error
+
 pay.cart.payment.cart_not_found=Cart was not found
 pay.cart.payment.amount_wrong=Wrong amount
 pay.cart.payment.already_paid=Cart is already paid

Modified: trunk/cgi-bin/LJ/Widget/Shop/Cart.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/Cart.pm	2012-11-08 13:29:04 UTC (rev 12871)
+++ trunk/cgi-bin/LJ/Widget/Shop/Cart.pm	2012-11-09 06:36:02 UTC (rev 12872)
@@ -127,6 +127,8 @@
         my $d_o_widget = LJ::Widget::Shop::View::DengiOnline->new;
         $dengi_online_html = $d_o_widget->render_body;
         $dengionline_disabled = 0;
+
+        $self->ml_warning('pay.cart.payment_error') if LJ::Request->get_param('pay_err');
     }
 
     # and calculate how much will it cost the user

Tags: dat, 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