承接 inalto/payway 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

inalto/payway

最新稳定版本:1.3

Composer 安装命令:

composer require inalto/payway

包简介

BCC PayWay Payment Gateway interface

README 文档

README

BCC sinergia Igfs payment gateway sdk for php 7.x

You can install the sdk via composer

composer require inalto/payway

Here a snippet on how to use it

require __DIR__.'/vendor/autoload.php';

use PayWay\init\IgfsCgInit;

 $init = new IgfsCgInit();
 //$init->disableCheckSSLCert();
 $init->serverURL="https://paymentgateway.it/IGFS_CG_SERVICES/services";
 $init->timeout=30000;
 $init->tid="TID-CODE1234";
 $init->kSig="0000000000000000000000000000";
 $init->shopID="mytransactionid";
 $init->shopUserRef="customer-email";
 $init->trType="AUTH";
 $init->currencyCode="EUR";
 $init->amount=4400; //Amount without comma, 1,00EUR will be 100
 $init->langID="IT"; //Language iso code
 $init->notifyURL="https://myserver.it/my-thankyou-page.php";
 $init->errorURL="https://myserver.it/my-error-page.php";

 if(!$init->execute()){
                echo $init->rc;
 }else{
        print ("location: ".$init->redirectURL);
 }

Enjoy :)

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2018-01-03