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

ActiveLibrary[Payment Processing](/categories/payments)

saimyosett/gmo-payment-gateway-php
==================================

GMO Payment Gateway SDK for PHP

v1.0.0(2y ago)144MITPHPPHP ^8.1

Since Sep 27Pushed 2y ago1 watchersCompare

[ Source](https://github.com/saimyosett/gmo-payment-gateway-php)[ Packagist](https://packagist.org/packages/saimyosett/gmo-payment-gateway-php)[ GitHub Sponsors](https://github.com/saimyosett)[ Fund](https://tidelift.com/funding/github/packagist/saimyosett/gmo-payment-gateway-php)[ RSS](/packages/saimyosett-gmo-payment-gateway-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

[![Build Status](https://github.com/saimyosett/gmo-payment-gateway-php/workflows/tests/badge.svg)](https://github.com/saimyosett/gmo-payment-gateway-php/actions)[![Total Downloads](https://camo.githubusercontent.com/9d6d324333c594150662e58ab0e3c6ba36db226c75a89926c4e1a877b9eaa1ce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7361696d796f736574742f676d6f2d7061796d656e742d676174657761792d706870)](https://packagist.org/packages/saimyosett/gmo-payment-gateway-php)[![Latest Stable Version](https://camo.githubusercontent.com/006a6bae15a974583b0ed5e3db74c1d9d1ea030dc5eca50a89dc3540955143fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7361696d796f736574742f676d6f2d7061796d656e742d676174657761792d706870)](https://packagist.org/packages/saimyosett/gmo-payment-gateway-php)[![License](https://camo.githubusercontent.com/577ed132baaeb135b4cd756d92c7473fd460a4aefdf251d3ad4dd9589d7c410b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7361696d796f736574742f676d6f2d7061796d656e742d676174657761792d706870)](https://packagist.org/packages/saimyosett/gmo-payment-gateway-php)

GMO-PAYMENT-GATEWAY-PHP
=======================

[](#gmo-payment-gateway-php)

- [Introduction](#introduction)
- [Installation](#installation)
- [API Response](#api-response)
    - [Success Response](#success-response)
    - [Error Response](#error-response)
- [Usage](#usage)
- [Member and Credit Card Registration](#member-and-credit-card-registration)
    - [Create Member](#create-member)
    - [Update Member](#update-member)
    - [Search Member](#search-member)
    - [Delete Member](#delete-member)
    - [Save Credit Card](#save-credit-card)
    - [Save Traded Credit Card](#save-traded-credit-card)
    - [Search Credit Card](#search-credit-card)
    - [Search Credit Card Detail](#search-credit-card-detail)
    - [Delete Credit Card](#delete-credit-card)
- [Credit Card Payment](#member-and-credit-card-registration)
    - [Create Transaction](#create-transaction)
    - [Execute Transaction](#execute-transaction)
    - [Change Transaction](#change-transaction)
    - [Search Transaction](#search-transaction)
- [Project Roadmap](#project-roadmap)

Introduction
------------

[](#introduction)

GMO-PAYMENT-GATEWAY-PHP provides an expressive and fluent interface for accessing [GMO Payment Gateway](https://www.gmo-pg.com/)payment services. While using this package, we recommend reviewing the [GMO Payment Gateway API Documentation](https://docs.mul-pay.jp/).

GMO Payment Gateway API Documentation
-------------------------------------

[](#gmo-payment-gateway-api-documentation)

We cannot provide the documentation of GMO Payment Gateway due to a non-disclosure agreement. You can obtain the document after signing a non-disclosure agreement with [GMO Payment Gateway](https://www.gmo-pg.com/).

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

[](#installation)

```
composer require saimyosett/gmo-payment-gateway-php
```

API Response
------------

[](#api-response)

Success Response

```
SaiMyoSett\GmoPaymentGateway\Responses\{Service}Response {
    success: true,
    data: [
      "memberID" => "Test-Member-ID",
      "memberName" => "Test Member Name",
      "deleteFlag" => "0",
    ],
    errors: [],
  }
```

### Error Response

[](#error-response)

```
SaiMyoSett\GmoPaymentGateway\Responses\ErrorResponse {
    errors: [
      [
        "code" => "E01390002",
        "message" => "指定されたサイトIDと会員IDの会員が存在しません。",
      ],
    ],
    "success": false,
    "data": [],
  }
```

Usage
-----

[](#usage)

```
use SaiMyoSett\GmoPaymentGateway\GMOPGClient;

$gmopg = new SaiMyoSett\GmoPaymentGateway\GMOPGClient([
    "siteID" => "Site ID",
    "sitePass" => "Site Password",
    "shopID" => "Shop ID",
    "shopPass" => "Shop Password",
]);
```

### Member and Credit Card Registration

[](#member-and-credit-card-registration)

### Create Member

[](#create-member)

```
$gmopg->member->create([
    'memberID' => 'Test-Member-ID'
]);
```

### Update Member

[](#update-member)

```
$gmopg->member->update([
    'memberID' => 'Test-Member-ID',
    'memberName' => 'Test Member Name',
]);
```

### Search Member

[](#search-member)

```
$gmopg->member->search([
    'memberID' => 'Test-Member-ID'
]);
```

### Delete Member

[](#delete-member)

```
$gmopg->member->delete([
    'memberID' => 'Test-Member-ID'
]);
```

### Save Credit Card

[](#save-credit-card)

```
$gmopg->member->saveCard([
    'memberID' => 'Test-Member-ID',
    'cardNo' => '4111111111111111',
    'expire' => '0000',
]);
```

### Save Traded Credit Card

[](#save-traded-credit-card)

```
$gmopg->member->tradedCard([
    'memberID' => 'Test-Member-ID',
    'orderID' => 'TEST-ORDER-ID',

]);
```

### Search Credit Card

[](#search-credit-card)

```
$gmopg->member->searchCard([
    'memberID' => 'Test-Member-ID',
    'orderID' => 'TEST-ORDER-ID',
]);
```

### Search Credit Card detail

[](#search-credit-card-detail)

```
# using card number
$gmopg->member->searchCardDetail([
    'cardNo' => '4111111111111111',
]);

# using token
$gmopg->member->searchCardDetail([
    'token' => 'token',
]);
```

### Delete Credit Card

[](#delete-credit-card)

```
$gmopg->member->deleteCard([
    'memberID' => 'Test-Member-ID',
    'cardSeq' => '0000'
]);
```

For further information on how to register Members and Credit Cards, please refer to the [GMO Payment Gateway API Documentation](https://docs.mul-pay.jp/payment/credit/apimember)

Credit Card Payment
-------------------

[](#credit-card-payment)

### Create Transaction

[](#create-transaction)

```
$gmopg->creditCard->entryTran([
    'orderID' => 'TEST-ORDER-ID'
    'jobCd' => 'CAPTURE',
    'amount' => '10000',
]);
```

### Execute Transaction

[](#execute-transaction)

```
$gmopg->creditCard->execTran([
    'orderID' => 'TEST-ORDER-ID'
    'jobCd' => 'CAPTURE',
    'amount' => '10000',
    'memberID' => '00000003',
    'cardSeq' => '0',
    'accessID' => '8867bfeec7b7fc35f78320d01c9a6c11',
    'accessPass' => 'c07822acefba90d95417ae37beb198dd',
    'method' => '1',
]);
```

### Change Transaction

[](#change-transaction)

```
$gmopg->creditCard->alterTran([
    'accessID' => '8867bfeec7b7fc35f78320d01c9a6c11',
    'accessPass' => 'c07822acefba90d95417ae37beb198dd',
    'amount' => '10000',
    'jobCd' => 'CANCEL',
]);
```

### Search Transaction

[](#search-transaction)

```
$gmopg->creditCard->searchTrade([
    'orderID' => 'TEST-ORDER-ID'
]);
```

For information on how to make Credit Cards payment, please refer to the [GMO Payment Gateway API Documentation](https://docs.mul-pay.jp/payment/credit/api)

License
-------

[](#license)

GMO-PAYMENT-GATEWAY-PHP is open-sourced software licensed under the [MIT license](LICENSE.md).

Project Roadmap
---------------

[](#project-roadmap)

- Member and Credit Card Registration API
- Credit Card Payment API
- Multi-Currency Credit Card Payment (DCC) API
- Convenience Store Payment API

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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 ~4 days

Total

2

Last Release

954d ago

Major Versions

v0.1.0 → v1.0.02023-10-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/011daa8a9747feec2c596ac62c10ddb78f124b86e97c293ea3107dcbf1a43376?d=identicon)[saimyosett](/maintainers/saimyosett)

---

Top Contributors

[![saimyosett](https://avatars.githubusercontent.com/u/40479139?v=4)](https://github.com/saimyosett "saimyosett (31 commits)")

---

Tags

payment-gatewaysdk-phppaymentgatewaygmo

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[shetabit/multipay

PHP Payment Gateway Integration Package

291348.2k3](/packages/shetabit-multipay)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)

PHPackages © 2026

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