https://github.com/workarea-commerce/workarea-braintree
ActiveMerchant Gateway and supporting classes for Braintree
https://github.com/workarea-commerce/workarea-braintree
Last synced: 4 months ago
JSON representation
ActiveMerchant Gateway and supporting classes for Braintree
- Host: GitHub
- URL: https://github.com/workarea-commerce/workarea-braintree
- Owner: workarea-commerce
- License: other
- Created: 2019-08-20T20:21:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2026-03-02T14:33:01.000Z (4 months ago)
- Last Synced: 2026-03-02T17:53:11.939Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Workarea Braintree
================================================================================
Braintree plugin for the Workarea platform.
Getting Started
--------------------------------------------------------------------------------
Add the gem to your application's Gemfile:
```ruby
# ...
gem 'workarea-braintree'
# ...
```
Update your application's bundle.
```bash
cd path/to/application
bundle
```
Development Credentials
--------------------------------------------------------------------------------
Developers can sign up for a free developer account at https://www.braintreepayments.com/sandbox to acquire testing credentials and access to a Braintree control panel.
Secrets
--------------------------------------------------------------------------------
Most of the keys below can be found in the Braintree control panel under Account.
Merchant account id can be found under Settings -> Processing under the Merchant Accounts section.
Add secrets to your environemt
braintree:
merchant_id:
public_key:
private_key:
merchant_account_id:
Documentation & Methods
--------------------------------------------------------------------------------
Braintree Documentation:
Braintree Active Merchant Ruby Gateway:
Testing
--------------------------------------------------------------------------------
### Refund
A purchase, or captured authorization needs to be settled before it can be refunded. The
braintree sandbox settles at 7pm to mimic the production environment. A rake task is provided to
settle a transaction now for testing.
```bash
rake workarea:braintree:settle_test_transaction TRANSACTION_ID
```
Workarea Commerce Documentation
--------------------------------------------------------------------------------
See [https://developer.workarea.com](https://developer.workarea.com) for Workarea Commerce documentation.
License
--------------------------------------------------------------------------------
Workarea Braintree is released under the [Business Software License](LICENSE)