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;
--------------------------------------------------------------------------------