Committer: nnikulochkina
LJSUP-14392: Implement mobile pay method for MTS and Megafon (disabled in #99)U trunk/bin/upgrading/en_LJ.dat U trunk/cgi-bin/LJ/Pay/Method.pm U trunk/templates/Shop/ThankYou.tmpl
Modified: trunk/bin/upgrading/en_LJ.dat =================================================================== --- trunk/bin/upgrading/en_LJ.dat 2012-11-28 09:33:01 UTC (rev 12956) +++ trunk/bin/upgrading/en_LJ.dat 2012-11-28 11:40:48 UTC (rev 12957) @@ -11622,6 +11622,8 @@ shop.cart.payment.yandex.notice|staleness=1 shop.cart.payment.yandex.notice=You will be redirected to Yandex.Money site for payment +shop.cart.payment.pay_method=Payment method + shop.cart.title|staleness=1 shop.cart.title=Shopping Cart (#[[cart]]) @@ -12059,6 +12061,12 @@ For your next purchase, you might be interested in: . +shop.thankyou.text.mobile<< +Your order has been successfully paid for and will be delivered soon.<br><br> +Maybe you've forgotten to buy something?<br> +For your next purchase, you might be interested in: +. + shop.thankyou.text.qiwi<< Your order has been successfully paid for and will be delivered soon.<br><br> <a href="[[url]]">Pay using qiwi wallet</a>.<br><br> Modified: trunk/cgi-bin/LJ/Pay/Method.pm =================================================================== --- trunk/cgi-bin/LJ/Pay/Method.pm 2012-11-28 09:33:01 UTC (rev 12956) +++ trunk/cgi-bin/LJ/Pay/Method.pm 2012-11-28 11:40:48 UTC (rev 12957) @@ -68,6 +68,7 @@ use constant DO_METHODS_LIST => [ 'QiWi', + ( !$LJ::DISABLED{'dengionline_mob'} ? 'Mobile' : () ), ]; # initialization code. do not touch this. Modified: trunk/templates/Shop/ThankYou.tmpl =================================================================== --- trunk/templates/Shop/ThankYou.tmpl 2012-11-28 09:33:01 UTC (rev 12956) +++ trunk/templates/Shop/ThankYou.tmpl 2012-11-28 11:40:48 UTC (rev 12957) @@ -3,6 +3,8 @@ <p> <TMPL_IF qiwi_url> <TMPL_VAR expr="ml('shop.thankyou.text.qiwi', 'url', qiwi_url)"> + <TMPL_IF mobile> + <TMPL_VAR expr="ml('shop.thankyou.text.mobile')"> <TMPL_ELSE> <TMPL_VAR expr="ml('shop.thankyou.text')"> </TMPL_IF>