OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
assets
/
payment
/
vendor
/
razorpay
/
razorpay
/
src
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/19/2025 10:07:15 AM
rwxr-xr-x
📄
Account.php
1.62 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Addon.php
556 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Api.php
1.65 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
ArrayableInterface.php
177 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Card.php
386 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Collection.php
308 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Customer.php
1.47 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Dispute.php
701 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Document.php
305 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Entity.php
5.92 KB
05/19/2025 10:07:15 AM
rw-r--r--
📁
Errors
-
05/19/2025 10:07:15 AM
rwxr-xr-x
📄
FundAccount.php
522 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Iin.php
316 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Invoice.php
2.32 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Item.php
654 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Order.php
1.4 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Payment.php
5.16 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
PaymentLink.php
1.74 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
PaymentPage.php
582 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Plan.php
341 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Product.php
911 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
QrCode.php
1.47 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Refund.php
752 bytes
05/19/2025 10:07:15 AM
rw-r--r--
📄
Request.php
6.02 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Resource.php
1.13 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Settlement.php
2.04 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Stakeholder.php
1.4 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Subscription.php
2.19 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Token.php
1.47 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Transfer.php
1.41 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Utility.php
2.63 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
VirtualAccount.php
1.33 KB
05/19/2025 10:07:15 AM
rw-r--r--
📄
Webhook.php
1.74 KB
05/19/2025 10:07:15 AM
rw-r--r--
Editing: Api.php
Close
<?php namespace Razorpay\Api; class Api { protected static $baseUrl = 'https://api.razorpay.com'; protected static $key = null; protected static $secret = null; /* * App info is to store the Plugin/integration * information */ public static $appsDetails = array(); const VERSION = '2.9.0'; /** * @param string $key * @param string $secret */ public function __construct($key, $secret) { self::$key = $key; self::$secret = $secret; } /* * Set Headers */ public function setHeader($header, $value) { Request::addHeader($header, $value); } public function setAppDetails($title, $version = null) { $app = array( 'title' => $title, 'version' => $version ); array_push(self::$appsDetails, $app); } public function getAppsDetails() { return self::$appsDetails; } public function setBaseUrl($baseUrl) { self::$baseUrl = $baseUrl; } /** * @param string $name * @return mixed */ public function __get($name) { $className = __NAMESPACE__.'\\'.ucwords($name); $entity = new $className(); return $entity; } public static function getBaseUrl() { return self::$baseUrl; } public static function getKey() { return self::$key; } public static function getSecret() { return self::$secret; } public static function getFullUrl($relativeUrl, $apiVersion = "v1") { return self::getBaseUrl() . "/". $apiVersion . "/". $relativeUrl; } }