phuminstudio/payment-lib

There is no license information available for the latest version (dev-master) of this package.

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/phuminstudio/payment-lib

dev-master 2019-08-21 16:17 UTC

This package is auto-updated.

Last update: 2025-09-22 07:12:15 UTC


README

composer require phuminstudio/payment-lib

Example use

<?php

use phuminstudio/Payment;

$private_key = "...";
$public_key = "...";

$payment = new Payment($private_key, $public_key);
$payment->kbankSetting("username", "password", "account no.");
$result = $payment->kbankCheck("1", "12", "2019", "13", "59", "300.31");

$payment->scbSetting("username", "password", "account no.");
$result = $payment->scbCheck("1", "12", "2019", "13", "59", "300.31");

$payment->walletSetting("email", "password", "reference_token");
$result = $payment->walletCheck("transaction number");