abn / armenian-payments
Armenian payment methods in one place
Requires
- php: ^7.4|^8.0|^8.1|^8.2
- illuminate/support: ^8.0|^9.0|^10.0|^11.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
README
⚠️ Warning:
This package is currently under development. Features and functionality may change, and the package may not be fully stable for production use. Please use with caution and report any issues to the repository.
Use this package to integrate Armenian payment gateways in your Laravel application.
Installation
You can install the package via composer:
composer require abn/armenian-payments
Publish assets
php artisan vendor:publish --tag=public
Usage Instructions
AmeriaBank Integration
To integrate AmeriaBank payments using the abn/armenian-payments
package, follow the steps below:
-
Add AmeriaBank Credentials
Add the AmeriaBank credentials to the.env
file.AMERIA_CLIENT_ID=your-client-id AMERIA_USERNAME=your-username AMERIA_PASSWORD=your-password
-
Create a New Instance
Initialize the payment class with the required parameters such as amount, currency, and bank.use Abn\ArmenianPayments\ArmenianPayments; // Create a new instance with AmeriaBank credentials $armenianPayments = new ArmenianPayments(100, 'AMD', 'ameria'); // Initiate a payment $payment = $armenianPayments->makePayment();
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email ashbarseghyan99@gmail.com instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.