abn/armenian-payments 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

abn/armenian-payments

最新稳定版本:1.1.6

Composer 安装命令:

composer require abn/armenian-payments

包简介

Armenian payment methods in one place

README 文档

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.

Latest Version on Packagist Total Downloads

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:

  1. 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
  2. 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.

统计信息

  • 总下载量: 17
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-27