phuminstudio/payment-lib

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

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

This package is auto-updated.

Last update: 2024-09-22 04:30:34 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");