Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/splittingred/paydirt
API for connecting to billing management systems (currently Chargify only)
https://github.com/splittingred/paydirt
Last synced: 8 days ago
JSON representation
API for connecting to billing management systems (currently Chargify only)
- Host: GitHub
- URL: https://github.com/splittingred/paydirt
- Owner: splittingred
- Created: 2012-11-27T18:15:32.000Z (almost 12 years ago)
- Default Branch: develop
- Last Pushed: 2012-11-28T05:11:40.000Z (almost 12 years ago)
- Last Synced: 2024-10-19T15:49:44.980Z (20 days ago)
- Language: PHP
- Size: 230 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Paydirt
A PSR-0 compliant PHP 5.3+ API for Chargify (and eventually other) billing libraries.
## Example
require 'Paydirt/Paydirt.php';
$customer = $paydirt->getObject('Customer',2528906);
echo $customer->get('email');$customer->set('email','[email protected]');
if ($customer->save()) {
echo 'Saved! Hooray!';
} else {
echo 'We failed: '.print_r($customer->getErrors(),true);
}## License
GPLv2 or later.