namdongvando / cardbrick
Card Brick, Gạch Thẻ
V1.01
2023-06-08 07:50 UTC
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2024-10-08 10:40:47 UTC
README
PHP >= 7.4
Installation Instructions
{ "require": { "namdongvando/cardbrick": "^1.01" } }
And run Composer to install CardBrick:
composer require namdongvando/cardbrick
Examples/Tutorials
The links provided below are meant to demonstrate the key features included in the project. Currently, these links are using the pfbc3.0-php5 release, please see the examples included with the project for PHP 5.3 namespaced examples.
Code Samples
<?php require 'vendor/autoload.php'; <?php use CardBrick\doithecaoonline; doithecaoonline::SetPartnerKey("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"); $doithecaoonline = new doithecaoonline(); $doithecaoonline->telco = "VIETTEL"; $doithecaoonline->amount = "300000"; $doithecaoonline->serial = "yyyyyyyyyyyy"; $doithecaoonline->code = "zzzzzzzzzzzz"; $doithecaoonline->transaction_id = "123456789"; $doithecaoonline->is_fast = 0; $res = $doithecaoonline->PartnerAddCard(); var_dump($res); ?> ?>
3.3 Add form render