Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benmills/vim-braintree
A vim plugin to make it even easier to integrate Braintree
https://github.com/benmills/vim-braintree
Last synced: about 1 month ago
JSON representation
A vim plugin to make it even easier to integrate Braintree
- Host: GitHub
- URL: https://github.com/benmills/vim-braintree
- Owner: benmills
- Created: 2015-10-02T23:49:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-02T23:50:19.000Z (about 9 years ago)
- Last Synced: 2024-04-17T02:56:30.219Z (7 months ago)
- Language: VimL
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-braintree
This is a plugin that helps you develop your [Braintree](http://developers.braintreepayments.com) integration while using vim.
## Setup
You need to define three global variables for vim-braintree to work:
```
let g:BraintreeMerchantID = "your-merchant-id"
let g:BraintreePublicKey = "your-public-key"
let g:BraintreePrivateKey = "your-private-key"
```**Note**: vim-braintree is only setup to work against sandbox. Part of the reason for that is so you don't put your production keys in your `.vimrc`. Please don't do that!
## Usage
Right now vim-braintree provides two commands: `BraintreeShowConfig` and `BraintreeFindTransaction`. If you haven't set the three globals above they will return an error.
### BraintreeShowConfig
Prints out the current keys you've configured.
### BraintreeFindTransaction
Prints out the XML for a transaction. If the transaction can't be found nothing is printed.