PHPackages                             nekoding/gmo-payment-gateway - 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. nekoding/gmo-payment-gateway

ActiveLibrary[Payment Processing](/categories/payments)

nekoding/gmo-payment-gateway
============================

Simple package to interact GMOPG API for laravel project

v1.2.0(4y ago)53.2k[1 issues](https://github.com/nekoding/gmo-payment-gateway/issues)MITPHPPHP ^7.4|^8.0

Since Apr 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/nekoding/gmo-payment-gateway)[ Packagist](https://packagist.org/packages/nekoding/gmo-payment-gateway)[ Docs](https://github.com/nekoding/gmo-payment-gateway)[ RSS](/packages/nekoding-gmo-payment-gateway/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (5)Versions (7)Used By (0)

GMOPG Package for Laravel
=========================

[](#gmopg-package-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ee0de74f40f876696c3a0526ccbfaf9d6be7071bbe9114b8acd3e8a735136dca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e656b6f64696e672f676d6f2d7061796d656e742d676174657761792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nekoding/gmo-payment-gateway)[![Total Downloads](https://camo.githubusercontent.com/e0d821e7a29bd6d976f9b1439f557d07ea88cdeaf8bdbe0f585e80a823f98fe7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e656b6f64696e672f676d6f2d7061796d656e742d676174657761792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nekoding/gmo-payment-gateway)

Simple package to interact GMOPG API for laravel project

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require nekoding/gmo-payment-gateway
```

Publish configuration file with

```
php artisan vendor:publish --provider="Nekoding\GmoPaymentGateway\GmoPaymentGatewayServiceProvider"
```

Usage
-----

[](#usage)

```
// Usage description here
// via GmoPaymentGateway Class

$gmo = new \Nekoding\GmoPaymentGateway\GmoPaymentGateway();

// if you want interact with GMO Site API use this
$siteApi = $gmo->useSiteApi();

// if you want interact with GMO Shop API use this
$shopApi = $gmo->useShopApi();

// Or you can use facade like this too
\Nekoding\GmoPaymentGateway\GmoPaymentGatewayFacade::useShopApi();
\Nekoding\GmoPaymentGateway\GmoPaymentGatewayFacade::useSiteApi();
\Nekoding\GmoPaymentGateway\GmoPaymentGatewayFacade::creditCard();

// If you want execution CreditCard EntryTran and CreditCard ExecTran at once
// You can use CreditCard entryTransaction callback like this
use Nekoding\GmoPaymentGateway\Contracts\Shop\CreditCard\Basic;
use \Nekoding\GmoPaymentGateway\GmoPaymentGatewayFacade;

$data = ['OrderID' => uniqid(), 'JobCd' => 'AUTH', 'Amount' => 1000, 'Method' => '', 'Token' => ''];
$response = GmoPaymentGatewayFacade::creditCard()
            ->entryTransaction($data, function (Basic $gmo) use (&$data) {
                return $gmo->execTransaction($data);
            });

$response->getResult(); // it will return response from entry transaction and exec transaction process

// example response :
[
  "ACS" => "0"
  "OrderID" => "xxxx"
  "Forward" => "xxx"
  "Method" => "1"
  "PayTimes" => ""
  "Approve" => "xxx"
  "TranID" => "xxxx"
  "TranDate" => "xxxxx"
  "CheckString" => "xxxxx",
  "AccessID" => "xxxxx",
  "AccessPass" => "xxxx"
]
```

### Configuration

[](#configuration)

You can change api credential via `.env` or via `config/config.php`

ENV KeyDescriptionGMO\_API\_SANDBOX\_MODEIf true package will use sandbox endpoint instead production endpointGMO\_SITE\_IDCredential to connect GMO Site APIGMO\_SITE\_PASSCredential to connect GMO Site APIGMO\_SHOP\_IDCredential to connect GMO Shop APIGMO\_SHOP\_PASSCredential to connect GMO Shop APIGMO\_3DS\_VERSION3DS API Version for credit card (only support value 1 / 2)GMO\_API\_TIMEOUTDetermine API Timeout (default: 2s)### Supported API

[](#supported-api)

- SiteAPI
- ShopAPI - Credit card payment

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Enggar Tivandi](https://github.com/nekoding)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Every ~1 days

Total

5

Last Release

1500d ago

Major Versions

v0.1.1 → v1.0.02022-04-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/342d28637f061e1d6799603cf2a613b7abc3fc856fc81d1d4fd0e151ec848c01?d=identicon)[nekoding](/maintainers/nekoding)

---

Top Contributors

[![nekoding](https://avatars.githubusercontent.com/u/64598048?v=4)](https://github.com/nekoding "nekoding (2 commits)")

---

Tags

nekodinggmo-payment-gateway

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nekoding-gmo-payment-gateway/health.svg)

```
[![Health](https://phpackages.com/badges/nekoding-gmo-payment-gateway/health.svg)](https://phpackages.com/packages/nekoding-gmo-payment-gateway)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)[karson/mpesa-php-sdk

172.2k](/packages/karson-mpesa-php-sdk)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[henryejemuta/laravel-monnify

A laravel package to seamlessly integrate monnify api within your laravel application

132.1k](/packages/henryejemuta-laravel-monnify)

PHPackages © 2026

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