PHP code example of hoavq / gmo-pg-bank-transfer

1. Go to this page and download the library: Download hoavq/gmo-pg-bank-transfer library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hoavq / gmo-pg-bank-transfer example snippets


\HoaVQ\GmoPG\GmoServiceProvider::class,

'GMO' => \HoaVQ\GmoPG\GmoFacade::class,

return [
    'host' => 'https://test-remittance.gmopg.jp',
    'shop_id' => 'rshopxxxxxxxx',
    'shop_password' => 'xxxxxxxx',
    'urls' => [
        'AccountRegistration' => '/api/AccountRegistration.idPass',
        'AccountSearch' => '/api/AccountSearch.idPass',
        'DepositRegistration' => '/api/DepositRegistration.idPass',
        'DepositSearch' => '/api/DepositSearch.idPass',
    ],
];

$result = \GMO::accountSearch([
    'Bank_ID' => '99992',
]);
$result = \GMO::depositSearch([
    'Deposit_ID' => 'ABC8888',
]);
shell
php artisan vendor:publish --provider="HoaVQ\GmoPG\GmoServiceProvider"
shell
config/gmo.php
shell
resource/{lang}/gmo.php