uawdijnntqw1x1x1
IP : 216.73.216.227
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
learnoid.codeskitter.site
/
database
/
..
/
app
/
Services
/
RazorPayment.php
/
/
<?php namespace App\Services; use App\Interfaces\PaymentGatewayInterface; use App\Models\PaymentGateway; use Razorpay\Api\Api; class RazorPayment implements PaymentGatewayInterface { public function processPayment($amount, array $data, array $configInput) { $razorpay = new Api($configInput['key'], $configInput['secret']); try { $paymentLink = $razorpay->invoice->create([ 'type' => 'link', 'amount' => $amount * 100, // amount in paisa 'currency' => config('app.currency'), 'description' => $data['product']['product'], 'customer' => [ 'name' => $data['customer']['name'], 'email' => $data['customer']['email'], 'contact' => $data['customer']['phone'], ], 'callback_url' => route('razorpay.payment.success', $data['identifier']), // 'redirect' => true, // 'callback_method' => 'get', // 'cancel_url' => route('razorpay.payment.fail'), ]); $url = $paymentLink['short_url']; return redirect()->away($url); } catch (\Razorpay\Api\Errors\SignatureVerificationError $e) { // Handle signature verification error return response()->json(['error' => $e->getMessage()], 400); } catch (\Exception $e) { // Handle other exceptions return response()->json(['error' => $e->getMessage()], 500); } } }
/home/users/unlimited/www/learnoid.codeskitter.site/database/../app/Services/RazorPayment.php