holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r12669: LJSUP-13720: Forbid paid account for ext...

Committer: akanashin
LJSUP-13720: Forbid paid account for ext-users
U   trunk/cgi-bin/LJ/Widget/Shop/PaidAccount.pm
U   trunk/htdocs/pay/modify.bml.text.local
Modified: trunk/cgi-bin/LJ/Widget/Shop/PaidAccount.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/PaidAccount.pm	2012-09-20 07:58:21 UTC (rev 12668)
+++ trunk/cgi-bin/LJ/Widget/Shop/PaidAccount.pm	2012-09-20 11:56:45 UTC (rev 12669)
@@ -111,6 +111,8 @@
             if $recipient->{'journaltype'} eq 'Y';
         $self->ml_error('/pay/modify.bml.error.cantbuyforrenamed')
             if $recipient->{'journaltype'} eq 'R';
+        $self->ml_error('/pay/modify.bml.error.cantbuyforidentity')
+            if $recipient->{'journaltype'} eq 'I';
 
         $self->ml_error(
             '/pay/modify.bml.error.cantbuyduetoaccountstatus', {

Modified: trunk/htdocs/pay/modify.bml.text.local
===================================================================
--- trunk/htdocs/pay/modify.bml.text.local	2012-09-20 07:58:21 UTC (rev 12668)
+++ trunk/htdocs/pay/modify.bml.text.local	2012-09-20 11:56:45 UTC (rev 12669)
@@ -70,6 +70,8 @@
 
 .error.cantbuyextrasforfreeaccount=You can only buy extra features for an existing paid account. If you would like to buy [[item]] for [[user]], add a paid account for them to your cart and try again.
 
+.error.cantbuyforidentity=Cannot buy paid features for identity accounts.
+
 .error.cantbuyforrenamed=Cannot buy paid features for renamed accounts.
 
 .error.cantbuyforsyn=Cannot buy paid features for syndicated accounts.

Tags: akanashin, holyandrew, ljcom, local, 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