PHP code example of k1low / gmo-pg-php
1. Go to this page and download the library: Download k1low/gmo-pg-php 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/ */
k1low / gmo-pg-php example snippets
$host = '';
$site_id = '';
$site_pass = '';
$site = new \GMO\Payment\SiteApi($host, $site_id, $site_pass);
$member_id = '';
$card_no = '';
$expire = '';
$card = '';
try {
$data = $site->updateCard($member_id, $card_no, $expire, $card);
print_r($data);
}
catch (exception $e) {
print $e->getMessage();
}
bash
composer