Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

a merb app that's an example of using braintree's transparent redirect stuff

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 merb
Octocat-spinner-32 public
Octocat-spinner-32 spec
Octocat-spinner-32 tasks
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
README
merb_braintree_tr_example
-------------------------

A merb app that's an example of braintree's transparent redirect payment gateway.

By using this you can process credit card data but don't store any sensitive
information in your system.  What's killer is that NO sensitive information
flows through your system. What's this mean?

* You don't post to your app with credit card info in the params hash.
* There's no code in the app that directly deals with entire credit card numbers.
* We only speak in terms of a token that braintree provides.  
* We couldn't retrieve the entire credit card number from the token if we tried.

Requirements (UNIX)
-------------------
% sudo gem install thor
% thor merb:gem:install
% cp config/braintree.yml-example config/braintree.yml
% cp config/database.yml-example config/database.yml
% git clone git://github.com/atmos/braintree_transparent_redirect_slice.git
% cd braintree_transparent_redirect_slice
% rake repackage
% cp pkg/*.gem ../gems/cache
% thor merb:gem:install
% bin/rake

On Localhost
------------
% script/merb
% open http://localhost:4000

Login with the username 'quentin' and the password foo.

Braintree Info
--------------
http://dev.braintreepaymentsolutions.com/
http://dev.braintreepaymentsolutions.com/test-transaction/

Videos(Worth Watching)
----------------------
http://braintreepaymentsolutions.com/pci-dss-compliance/
Something went wrong with that request. Please try again.