定制 sayeed/sslwireless 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

sayeed/sslwireless

Composer 安装命令:

composer require sayeed/sslwireless

包简介

This is payment gateway of SSL Wireless. You can use if for getting payment for your online product.

README 文档

README

Awesome Laravel GitHub license

This is payment gateway of SSL Wireless. You can use if for getting payment for your online product

Installation

You can start it from composer. Go to your terminal and run this command from your project root directory.

composer require sayeed/sslwireless

Wait for a while, its download.

Configurations

After complete installation then you have to configure it. First copy these line paste it in config/app.php where providers array are exists.

Sayeed\Sslwireless\SslwirelessServiceProvider::class,

Run your application and goto below url for create config

{your_domain}/sayeed/sslwareless

Its done.

How does it work?

At first change your configuration in Config/sayeed.php with api_url, store_id, store_passwd, currency, success_url, fail_url, cancel_url

return [
    'sslwireless' => [
        'connection' => [
            'api_url'       => 'https://sandbox.sslcommerz.com/gwprocess/v3/api.php', #required
            'store_id'      => '123456789', #required
            'store_passwd'  => '123456789@ssl', #required
            'currency'      => 'BDT', #required
            'success_url'   => 'http://localhost/success', #required
            'fail_url'      => 'http://localhost/fail', #required
            'cancel_url'    => 'http://localhost/cancel', #required
        ]
    ]
];

Usages

$ssl_payment = new Sslwireless('connection');

$products[0]['product'] = 'Product Name 1';
$products[0]['amount'] = 150;

$products[1]['product'] = 'Product Name 2';
$products[1]['amount'] = 100;

$products[2]['product'] = 'Product Name 3';
$products[2]['amount'] = 250;

$ssl_payment->payment_by_sslwireless($products, $unique_transaction_id = false);

If you have any kind of query, please feel free to share with me

Thank you

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固