���Root Mod By V1rus_Alfa
User / IP
:
216.73.216.158
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
npln
/
vendor
/
shetabit
/
multipay
/
tests
/
Drivers
/
Viewing: BarDriver.php
<?php namespace Shetabit\Multipay\Tests\Drivers; use Shetabit\Multipay\Abstracts\Driver; use Shetabit\Multipay\Contracts\ReceiptInterface; use Shetabit\Multipay\Invoice; use Shetabit\Multipay\Receipt; use Shetabit\Multipay\RedirectionForm; class BarDriver extends Driver { public const DRIVER_NAME = 'bar'; public const TRANSACTION_ID = 'random_transaction_id'; public const REFERENCE_ID = 'random_reference_id'; protected $invoice; protected $settings; public function __construct(Invoice $invoice, $settings) { $this->invoice($invoice); $this->settings=$settings; } public function purchase() { return static::TRANSACTION_ID; } public function pay(): RedirectionForm { return $this->redirectWithForm('/', [ 'amount' => $this->invoice->getAmount() ], 'GET'); } public function verify(): ReceiptInterface { return new Receipt(static::DRIVER_NAME, static::REFERENCE_ID); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa