Файловый менеджер - Редактировать - /home/d46091/udyogaadhaar.net/payu-email/payu-cmpn-rcs.php
Назад
<?php session_start(); $key = "yeUyg3"; $salt = "CHFrSjuQXmUk6BnAzgbqLORlTobCTfxU"; $action = 'https://secure.payu.in/_payment'; $html = ''; if (strcasecmp($_SERVER['REQUEST_METHOD'], 'POST') == 0) { if(isset($_POST['order_id'])) { $txn = $_POST['order_id']; } else { $txn = $orderId; } $amount = "2698"; $productinfo = 'Udyam Registerationrcs'; $firstname = $_POST['applicant_name']; $email = $_POST['email_id']; $mobile = $_POST['mobile_number']; $udf5 = "8759974"; $hashString = $key . "|" . $txn . "|" . $amount . "|" . $productinfo . "|" . $firstname . "|" . $email . "|||||" . $udf5 . "||||||" . $salt; $hash = hash('sha512', $hashString); $_SESSION['salt'] = $salt; $html = '<form action="' . $action . '" id="payment_form_submit" method="post"> <input type="hidden" name="key" value="' . $key . '" /> <input type="hidden" name="txnid" value="' . $txn . '" /> <input type="hidden" name="amount" value="' . $amount . '" /> <input type="hidden" name="productinfo" value="' . $productinfo . '" /> <input type="hidden" name="firstname" value="' . $firstname . '" /> <input type="hidden" name="email" value="' . $email . '" /> <input type="hidden" name="phone" value="'.$mobile.'" /> <input type="hidden" name="surl" value="https://udyamregistration.co/payu-email/payu-rcs-success.php" /> <input type="hidden" name="furl" value="https://udyamregistration.co/payu-email/payu-rcs-failure.php" /> <input type="hidden" name="curl" value="https://secure.payu.in/_payment" /> <input type="hidden" name="udf5" value="' . $udf5 . '" /> <input type="hidden" name="Pg" value="Pg" /> <input type="hidden" name="hash" value="' . $hash . '" /> </form> <script type="text/javascript"> document.getElementById("payment_form_submit").submit(); </script>'; } ?> <?php echo $html; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка