Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
a merb app that's an example of using braintree's transparent redirect stuff
Ruby JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
merb flesh out a few more things with getting folks adding credit cards
public
spec
tasks
.gitignore
LICENSE
README
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.