Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benweissmann/dev-payments
/dev/payments
https://github.com/benweissmann/dev-payments
Last synced: about 2 months ago
JSON representation
/dev/payments
- Host: GitHub
- URL: https://github.com/benweissmann/dev-payments
- Owner: benweissmann
- License: mit
- Created: 2014-02-06T05:19:08.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-06T05:58:54.000Z (almost 11 years ago)
- Last Synced: 2024-10-28T13:03:41.559Z (2 months ago)
- Language: Ruby
- Size: 129 KB
- Stars: 29
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
dev-payments
============Tested on Ubuntu 13.10. Definitely doesn't work on OS X, which doesn't let you put a FIFO in /dev.
Setup
-----As root:
# gem install ruby-fifo stripe
# echo "my-stripe-api-secret-key" > /etc/dev-payments
# chmod 700 /etc/dev-payments
# ruby dev-payments.rbUse
---Charge $2.00 to credit card with number 4242424242424242 and expiration date 10/2014, and the note "some payment"
# echo "200 4242424242424242 10/14 some payment" > /dev/payments