mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-04-05 06:34 am

[dw-nonfree] Finishing up payment system

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/8a65386ec5a4]

http://bugs.dwscoalition.org/show_bug.cgi?id=116

Add configuration for account prices.

Patch by [staff profile] mark.

Files modified:
  • etc/config-local.pl
--------------------------------------------------------------------------------
diff -r a777d0ad1053 -r 8a65386ec5a4 etc/config-local.pl
--- a/etc/config-local.pl	Thu Apr 02 06:36:45 2009 +0000
+++ b/etc/config-local.pl	Sun Apr 05 06:34:09 2009 +0000
@@ -112,6 +112,18 @@
         paidaccountinfo => "http://www.dreamwidth.org/support/faqbrowse.bml?faqid=4",
     );
 
+    # shop/pricing configuration
+    %SHOP = (
+        # key => [ $USD, months, account type ],
+        prem6  => [  20,  6, 'premium' ],
+        prem12 => [  40, 12, 'premium' ],
+        paid1  => [   3,  1, 'paid'    ],
+        paid2  => [   5,  2, 'paid'    ],
+        paid6  => [  13,  6, 'paid'    ],
+        paid12 => [  25, 12, 'paid'    ],
+        seed   => [ 200, 99, 'seed'    ],
+    );
+
 }
 
 1;
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org