[ljcom] r13051: LJSUP-14623: Switch WebMoney payments to...
Committer: nnikulochkina
LJSUP-14623: Switch WebMoney payments to old implementation (do not use DengiOnline)U trunk/cgi-bin/LJ/Pay/Method/WebMoney.pm U trunk/templates/Shop/method/webmoney.tmpl
Modified: trunk/cgi-bin/LJ/Pay/Method/WebMoney.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/Method/WebMoney.pm 2012-12-14 08:45:14 UTC (rev 13050)
+++ trunk/cgi-bin/LJ/Pay/Method/WebMoney.pm 2012-12-17 06:48:47 UTC (rev 13051)
@@ -32,7 +32,7 @@
'https://merchant.webmoney.ru/lmi/payment.asp' :
'https://merchant.wmtransfer.com/lmi/payment.asp';
- if (LJ::is_enabled('dengionline')) {
+ if (LJ::is_enabled('dengionline_wm')) {
my $cart_id = $cart->get_cart_as_string();
my $result = LJ::DengiOnline->create_bill(
@@ -73,6 +73,8 @@
'amt' => $amt,
'form_action' => $form_action,
'form_intro' => $form_intro,
+ 'cart' => $cart->get_cart_as_string(),
+ 'dengionline_wm_disabled' => 1,
};
}
}
Modified: trunk/templates/Shop/method/webmoney.tmpl
===================================================================
--- trunk/templates/Shop/method/webmoney.tmpl 2012-12-14 08:45:14 UTC (rev 13050)
+++ trunk/templates/Shop/method/webmoney.tmpl 2012-12-17 06:48:47 UTC (rev 13051)
@@ -1,4 +1,4 @@
-<TMPL_UNLESS dengionline_disabled>
+<TMPL_UNLESS dengionline_wm_disabled>
<TMPL_INCLUDE name="templates/Shop/DengiOnline/Webmoney.tmpl">
