Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atmos/braintree_transparent_redirect_slice
A slice for interfacing with braintree's transparent redirect stuff in a merb app
https://github.com/atmos/braintree_transparent_redirect_slice
Last synced: 3 months ago
JSON representation
A slice for interfacing with braintree's transparent redirect stuff in a merb app
- Host: GitHub
- URL: https://github.com/atmos/braintree_transparent_redirect_slice
- Owner: atmos
- License: mit
- Created: 2009-01-03T00:42:12.000Z (about 16 years ago)
- Default Branch: master
- Last Pushed: 2009-01-21T23:34:18.000Z (almost 16 years ago)
- Last Synced: 2024-09-17T15:12:01.270Z (4 months ago)
- Language: Ruby
- Homepage: http://github.com/atmos/braintree_transparent_redirect_slice
- Size: 145 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
BraintreeTransparentRedirectSlice
=================================A slice for the Merb framework that lets you store shit securely in Braintree's
vault (http://dev.braintreepaymentsolutions.com/vault/transparent-redirect/).
You get tokens for user's sensitive info and you can charge against those
tokens. The information is securely stored in Braintree's vault to allow you
to charge against credit cards without having ANY sensitive information pass
through your controller actions or logs. It's quite cool.------------------------------------------------------------------------------
Installation
------------
% grep braintree_transparent_redirect config/*.rb
dependency "braintree_transparent_redirect_slice", "=1.0.7.1"------------------------------------------------------------------------------
# example: /:controller/:action/:id
slice(:BraintreeTransparentRedirectSlice)# example: /billing/controller/:action/:id
add_slice(:braintree_transparent_redirect_slice, :name_prefix => nil, :path_prefix => "billing")Normally you should also run the following rake task:
rake slices:braintree_transparent_redirect_slice:install
------------------------------------------------------------------------------Goals
-----
* actually work, as in all specs passing
* sanitize and abstract the braintree models into a gem you can use outside of merb
* hook into merb-auth so you can associate vault items into more than just the user.
i.e. instance method on the session perhaps
* support bank account info, not just credit cardsDeveloping
----------
% thor merb:gem:install
% cp config/braintree.yml-example config/braintree.yml
% bin/rake