uawdijnntqw1x1x1
IP : 216.73.216.145
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
/
PaymobPayment.php
/
/
<?php namespace App\Services; use App\Interfaces\PaymentGatewayInterface; use Illuminate\Support\Facades\Http; class PaymobPayment implements PaymentGatewayInterface { public function processPayment($amount, array $data, array $config) { $response = Http::withHeaders([ 'Authorization' => 'Token ' . $config['secret_key'], ]) ->post('https://accept.paymob.com/v1/intention/', [ 'amount' => $amount, 'currency' => config('app.currency'), 'payment_methods' => [ $config['integration_id'], ], 'items' => [ [ 'name' => $data['product']['product'], 'amount' => $amount, 'unit_price' => $amount, 'quantity' => 1, ], ], 'billing_data' => [ 'first_name' => $data['customer']['name'], 'email' => $data['customer']['email'], 'phone' => $data['customer']['phone'], ], 'redirection_url' => route('paymob.payment.success', $data['identifier']), ]); if ($response->ok()) { $responseData = json_decode($response->getBody()->getContents(), true); return redirect("https://accept.paymob.com/unifiedcheckout/?publicKey={$config['public_key']}&clientSecret={$responseData['client_secret']}}"); } return to_route('paymob.payment.fail'); } }
/home/users/unlimited/www/learnoid.codeskitter.site/database/../app/Services/PaymobPayment.php