summaryrefslogtreecommitdiff
path: root/billing/config
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-03-12 13:32:46 -0700
committerAzul <azul@leap.se>2013-07-17 10:46:25 +0200
commit3ffac4e77a118ee6ec7d369b0250c11830c2f7e0 (patch)
tree10bcae72b62b63cd8da65e93fb0c90f2c107fc3b /billing/config
parentfe7a5ac0776e1bd7baf36382600e265def901e51 (diff)
Basic functionality for one time transactions using Braintree's transparent redirect API based from https://github.com/braintree/braintree_ruby_examples/tree/master/rails3_tr_checkout (very little changes were required)
Diffstat (limited to 'billing/config')
-rw-r--r--billing/config/initializers/braintree.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/billing/config/initializers/braintree.rb b/billing/config/initializers/braintree.rb
new file mode 100644
index 0000000..ee21088
--- /dev/null
+++ b/billing/config/initializers/braintree.rb
@@ -0,0 +1,5 @@
+Braintree::Configuration.logger = Logger.new('log/braintree.log')
+Braintree::Configuration.environment = :sandbox
+Braintree::Configuration.merchant_id = "bwrdyczvjspmxjhb"
+Braintree::Configuration.public_key = "jmw58nbmjg84prbp"
+Braintree::Configuration.private_key = "SET_ME"