Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mendoc/ongoua-pvit-php
A composer package for use PVit payment gateway
https://github.com/mendoc/ongoua-pvit-php
composer ongoua packagist php pvit
Last synced: 15 days ago
JSON representation
A composer package for use PVit payment gateway
- Host: GitHub
- URL: https://github.com/mendoc/ongoua-pvit-php
- Owner: mendoc
- License: mit
- Created: 2021-06-01T12:35:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-03T04:31:40.000Z (over 3 years ago)
- Last Synced: 2024-11-24T17:02:00.560Z (about 2 months ago)
- Topics: composer, ongoua, packagist, php, pvit
- Language: PHP
- Homepage: https://packagist.org/packages/ongoua/pvit
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ongoua-pvit-php
A composer package for use PVit payment gateway## Installation
### Using Composer
```bash
composer require ongoua/pvit
```
## Usage
### Submitting request```php
setMontant(100);
$clientPvit->setRef("PROD66784");
$clientPvit->setTelClient("074567890");try {
$response = $clientPvit->send();
echo $response->getStatut();
} catch (Exception $e) {
echo 'Error message: ' . $e->getMessage();
}
```
### In your PVit callback
```php
getStatut();
} catch (Exception $e) {
echo 'Error message: ' . $e->getMessage();
}
```## Report bug
DM me on Twitter [@DimitriONGOUA](https://twitter.com/DimitriOngoua)