PHPackages                             rohitrajv5/payway - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. rohitrajv5/payway

ActiveLibrary[Payment Processing](/categories/payments)

rohitrajv5/payway
=================

BCC PayWay Payment Gateway interface

1.0.0(3y ago)110PHP

Since Nov 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rohitrajv5/payway)[ Packagist](https://packagist.org/packages/rohitrajv5/payway)[ RSS](/packages/rohitrajv5-payway/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

PayWay Payment Gateway - Rest API - 2022
========================================

[](#payway-payment-gateway---rest-api---2022)

This package will allow you to make payment by navigating to payment gateway website and verify transaction made by Credit Card, Debit Card.

2 Steps will be called make payment.

INITIATE PAYMENT and VERIFY PAYMENT.

You can install the sdk via composer

```
composer require rohitrajv5/payway
```

1. INITIATE PAYMENT

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

use PayWay\init\IgfsCgInit;

// Call API with your client and get a response for your call
$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="8384738437892728472";
 $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="http://localhost/my-thankyou-page.php";
$init->errorURL = "http://localhost/failure.php";

if(!$init->execute()){
echo $init->rc; // This statement will return error if any configuration is incorrect
}else{
 header("location: ".$init->redirectURL); // User will navigate to payway payment gateway from here
}
```

REMEMBER !

$init will return paymentID. Save this payment id. It will be use to verify transaction. Success/Failure

```
$init->paymentID // Payment id of current transaction

```

2. VERIFY PAYMENT

```
// Call API with your client and get a response for your call
$init = new IgfsCgVerify();
//$init->disableCheckSSLCert();
$init->serverURL="https://paymentgateway.it/IGFS_CG_SERVICES/services";
$init->timeout=30000;
$init->tid="TID-CODE1234";
$init->kSig= "0000000000000000000000000000";
$init->langID="IT"; //Language iso code
$init->shopID=$shopID;
 $init->shopUserRef="customer-email";
$init->trType="AUTH";
$init->paymentID=YOUR_PAYMENT_ID_GENERATED_IN_INITIALIZATION;

if(!$init->execute()){
  return ['success'=>false,'message'=>$init->rc];
}
```

RESPONSE

You will get `$init->tranID` and `$init->errorDesc` in response. It transaction is successfull you will giet TRANSAZIONE OK message.

Enjoy :)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1277d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/14f0454e0b58557e15cd349a425aad845269014257efa282f693757235004819?d=identicon)[rohitrajv5](/maintainers/rohitrajv5)

---

Top Contributors

[![rohit-raj-verma](https://avatars.githubusercontent.com/u/261393979?v=4)](https://github.com/rohit-raj-verma "rohit-raj-verma (10 commits)")

### Embed Badge

![Health badge](/badges/rohitrajv5-payway/health.svg)

```
[![Health](https://phpackages.com/badges/rohitrajv5-payway/health.svg)](https://phpackages.com/packages/rohitrajv5-payway)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
