summaryrefslogtreecommitdiff
path: root/billing/README.rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'billing/README.rdoc')
-rw-r--r--billing/README.rdoc24
1 files changed, 24 insertions, 0 deletions
diff --git a/billing/README.rdoc b/billing/README.rdoc
new file mode 100644
index 0000000..357c02e
--- /dev/null
+++ b/billing/README.rdoc
@@ -0,0 +1,24 @@
+= Billing
+
+This project rocks and uses MIT-LICENSE.
+
+To set up your own Braintree Sandbox, create an account at:
+https://www.braintreepayments.com/get-started
+
+Login.
+In the top right, navigate to your username, and then 'My User' -> 'API Keys'
+
+Click the button to generate a new API key, and then click the 'View' link to the right of the key.
+
+There is a section to copy a snippet of code. Select 'Ruby' in the dropdown, and then the button to the right to copy this code to your clipboard.
+Then, paste the contents of the clipboard into config/initializers/braintree.rb
+
+You should not check the private key into version control.
+
+Now, you should be able to add charges to your own Sandbox when you run the webapp locally.
+
+You also will want to add a Plan to your Sandbox. Within the Braintree Sandbox, navigate to 'Recurring Billing' -> 'Plans'. From here, you can add a new Plan. The values of the test plan are not important, but the ID will be displayed, so should pick something descriptive.
+
+Here are credit cared numbers to try in the Sandbox:
+
+https://www.braintreepayments.com/docs/ruby/reference/sandbox \ No newline at end of file