kallencode / laravel-icepay
Fund package maintenance!
kallencode
Requires
- php: ^7.4|^8.0
- icepay/api: ^0.0.1
- illuminate/contracts: ^8.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.3
This package is not auto-updated.
Last update: 2024-11-18 16:51:51 UTC
README
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
composer require kallencode/laravel-icepay
You can publish the config file with:
php artisan vendor:publish --provider="Kallencode\Icepay\IcepayServiceProvider" --tag="config"
This is the contents of the published config file:
return [ 'api_key' => env('ICEPAY_API_KEY', 'xxxxx'), 'api_secret' => env('ICEPAY_API_SECRET', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'), 'completed_url' => env('ICEPAY_COMPLETED_URL', 'http://example.local/payment.php'), 'error_url' => env('ICEPAY_ERROR_URL', 'http://example.local/payment.php'), ];
Usage
$checkoutResponse = Icepay::checkout([ 'Amount' => 1000, 'Currency' => 'EUR', 'Paymentmethod' => 'IDEAL', 'Issuer' => 'ABNAMRO', 'Country' => 'NL', 'Language' => 'NL', 'Description' => 'This is a example description', 'OrderID' => '1', 'Reference' => '1' ]) $paymentID = 123123; $paymentResponse = Icepay::getPayment($paymentID);
Documentation
https://icepay.com/app/uploads/ICEPAY-REST-API-Implementation-manual-v1.22.pdf
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.