Download the PHP package reactmore/tripay-payment-sdk without Composer
On this page you can find all versions of the php package reactmore/tripay-payment-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package tripay-payment-sdk
Tripay Payment Gateway SDK for CodeIgniter 4
Library ini menyediakan integrasi Tripay Payment Gateway dengan framework CodeIgniter 4.
Membantu developer mengelola transaksi, channel pembayaran, dan kalkulasi biaya dengan mudah melalui Service Facade.
📦 Installation
- Install via Composer
⚙️ Configuration
Tambahkan konfigurasi API Key pada .env
🚀 Usage
Method
| 🔹 Merchant | Method | Parameter | Deskripsi |
|---|---|---|---|
$tripay->merchant()->getChannel() |
– | Mendapatkan daftar channel pembayaran yang tersedia. | |
$tripay->merchant()->getFeeCalculator(array $payload) |
amount (numeric, required), code (string, optional) |
Menghitung biaya transaksi berdasarkan jumlah (amount) dan metode pembayaran (code). |
|
$tripay->merchant()->getTransactionList(array $payload = []) |
per_page, page, sort, dsb. (optional) |
Mendapatkan daftar transaksi milik merchant. |
| 🔹 Payment | Method | Parameter | Deskripsi |
|---|---|---|---|
$tripay->payment()->getInstruction(array $payload) |
code (string, required) |
Mendapatkan instruksi pembayaran untuk channel tertentu. |
🔹 Transaction
| Method | Parameter | Deskripsi |
|---|---|---|
$tripay->transaction('closed/open')->create(array $data) |
method, merchant_ref, amount, customer_name, dll. |
Membuat transaksi baru dengan mode Closed atau open Payment. |
$tripay->transaction('closed/open')->detail(string $reference) |
reference (string, required) |
Mendapatkan detail transaksi berdasarkan Reference ID. |
$tripay->transaction('closed/open')->status(array $payload) |
reference (string, required) |
Mengecek status transaksi tertentu. |
All versions of tripay-payment-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
ext-pdo Version *
ext-curl Version *
ext-json Version *
ext-mbstring Version *
ext-pdo Version *
ext-curl Version *
ext-json Version *
ext-mbstring Version *
The package reactmore/tripay-payment-sdk contains the following files
Loading the files please wait ...