Add remaining project files (exclude ignored folders)

This commit is contained in:
WD - Dev
2025-07-05 15:11:40 +07:00
parent a96eb2b958
commit b440b80882
4697 changed files with 1365702 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
require 'Transaction.php';
$apiKey = 'JDJ5JDEzJG9IZXEwNDluN212TmtIc1BFZ3RLSk9kS0tka2I0UFk1dlFOaFZLZ3puTGY0ZTZKeTk5cVEy';
$apiUrl = 'https://bigflip.id/api/v2/pwf/';
$flip = new FlipPaymentGateway($apiKey,$apiUrl);
// $flip = new FlipPaymentGateway($apiUrl);
try {
// Membuat transaksi
// $response = $flip->createBill('Pembayaran Internet bulan Agustus 2024',180000, 'recipient@example.com', 'Wian', '081298698422', 'Sukabumi jawa barat');
$response = $flip->editBill('11966210','INACTIVE','Tambah saldo agen voucher', 50000);
//CEK Status Transaksi
// $response = $flip->getBillStatus('133642');
echo "<pre>";
print_r($response);
} catch (Exception $e) {
echo "Error: " . $e->getMessage();
}
?>