From d3e4489cc4833c196eeef77f4fe0680c3f7e7a09 Mon Sep 17 00:00:00 2001 From: jessib Date: Tue, 11 Jun 2013 12:16:13 -0700 Subject: More cleanup of billing code. --- billing/README.rdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'billing/README.rdoc') diff --git a/billing/README.rdoc b/billing/README.rdoc index fbf5b51..357c02e 100644 --- a/billing/README.rdoc +++ b/billing/README.rdoc @@ -10,14 +10,14 @@ 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 select a snippet of code. Select 'Ruby' in the dropdown, and then the button to the right to copy this code to your clipboard. +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. +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: -- cgit v1.2.3