Uname:
Linux server.thebazaar99.com 5.14.0-687.17.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jun 22 07:21:26 EDT 2026 x86_64
Software:
Apache
PHP version:
8.3.32 [ PHP INFO ] PHP os:
Linux
Server Ip:
163.227.92.254
Your Ip:
216.73.217.24
User:
gutlooks (1003) | Group:
gutlooks (1005)
Safe Mode:
OFF
Disable Function:
exec,passthru,shell_exec,system
<?php
$product_name = "Moja" ;
$price = "100";
$name = "tinku";
$phone = "9999990090";
$email = "gullak@gmail.com";
include 'src/instamojo.php';
$api = new Instamojo\Instamojo('17b5c644417cc203661caa2f76b60d32','2999ea9a4b92e847e22f89253d2e3ad6','https://www.instamojo.com/api/1.1/');
try {
$response = $api->paymentRequestCreate(array(
"purpose" => $product_name,
"amount" => $price,
"buyer_name" => $name,
"phone" => $phone,
"send_email" => true,
"send_sms" => true,
"email" => $email,
"mobile" => $phone,
"shipping_city" => $shipping_city,
'allow_repeated_payments' => false,
"redirect_url" => "https://www.djtechblog.com/php/projects/payments/thankyou.php",
"webhook" => "https://www.djtechblog.com/php/projects/payments/webhook.php"
));
$pay_ulr = $response['longurl'];
header("Location: $pay_ulr");
exit();
}
catch (Exception $e) {
print('Error: ' . $e->getMessage());
}
?>