Permalink
Browse files

Remove supported methods configuration values as they will interfere

with applciation configuration setting.
  • Loading branch information...
frankmullenger committed Aug 2, 2012
1 parent 2dcd3ab commit 16a39cbbad1bd51334f05dcea261acc02b357c86
Showing with 37 additions and 10 deletions.
  1. +36 −3 README.md
  2. +0 −7 _config/PaymentTest.yaml
  3. +1 −0 code/PaymentTestPage.php
View
@@ -1,4 +1,37 @@
-silverstripe-gsoc-payment-test
-==============================
+SilverStripe Payment Test Module
+================================
-SilverStripe GSOC Project Payment Test
+Maintainer Contacts
+-------------------
+* Frank Mullenger
+* Ryan Dao
+
+Requirements
+------------
+* SilverStripe 3.0
+
+Documentation
+-------------
+Paystation integration for payment module
+
+Installation Instructions
+-------------------------
+1. Place this directory in the root of your SilverStripe installation and call it 'payment-paystation'.
+2. Visit yoursite.com/dev/build to rebuild the database.
+3. Enable supported payment methods in your application yaml file
+
+e.g: mysite/_config/Mysite.yaml
+PaymentGateway:
+ environment:
+ 'dev'
+
+PaymentProcessor:
+ supported_methods:
+ dev:
+ - 'DummyMerchantHosted'
+ live:
+ - 'DummyMerchantHosted'
+ - 'DummyGatewayHosted'
+
+Usage Overview
+--------------
View
@@ -1,7 +0,0 @@
-name: PaymentTest
----
-
-PaymentProcessor:
- supported_methods:
- - 'DummyMerchantHosted'
- - 'DummyGatewayHosted'
View
@@ -26,6 +26,7 @@ function ProcessForm() {
// Create a dropdown select field for choosing gateway
$supported_methods = PaymentProcessor::get_supported_methods();
+
$source = array();
foreach ($supported_methods as $methodName) {
$methodConfig = PaymentFactory::get_factory_config($methodName);

0 comments on commit 16a39cb

Please sign in to comment.