Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmouse/dineromail-api
Api para Dinero Mail
https://github.com/dmouse/dineromail-api
Last synced: 18 days ago
JSON representation
Api para Dinero Mail
- Host: GitHub
- URL: https://github.com/dmouse/dineromail-api
- Owner: dmouse
- Created: 2013-12-12T20:01:37.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-12T20:41:00.000Z (about 11 years ago)
- Last Synced: 2024-11-11T06:34:09.474Z (about 2 months ago)
- Language: PHP
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Dinero Mail API
==========Api para Dinero Mail
Sample
===
```
require __DIR__ . '/vendor/autoload.php';use HechoEnDrupal\DineroMail\Credential;
use HechoEnDrupal\DineroMail\DineroMail;
use HechoEnDrupal\DineroMail\TripleDes;$username = "TEST";
$password = "TEST-TEST-TEST-TEST-TEST";
$key = "abcdefghijklmnopqrstuvwx";$credential = new Credential($username, $password);
$triple_des = new TripleDes($password);$dinero = new DineroMail($credential, true);
$dinero->setEncrypt($triple_des);$dinero->setUniqueMessage('1');
$dinero->setMerchantTransaction('1');print_r ($dinero->getBalance());
print_r ($dinero->getOperations());
print_r ($dinero->getPaymentTicket());```