Mr.Combet Webshell
Your IP :
18.189.185.112
Server IP :
185.136.159.155
Server :
Linux 185-136-159-155.cprapid.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software :
Apache
PHP Version :
8.1.29
Add File :
Submit
Add Directory :
Submit
Dir :
~
/
home
/
jaibalajigroup
/
public_html
/
core
/
app
/
Edit File Name :
PaymentGateway.php
<?php namespace App; use Illuminate\Database\Eloquent\Model; class PaymentGateway extends Model { protected $fillable = ['title', 'details', 'subtitle', 'name', 'type', 'information']; public $timestamps = false; public function convertAutoData() { return json_decode($this->information, true); } public function getAutoDataText() { $text = $this->convertAutoData(); return end($text); } public function showKeyword() { $data = $this->keyword == null ? 'other' : $this->keyword; return $data; } public function showCheckoutLink() { $link = ''; $data = $this->keyword == null ? 'other' : $this->keyword; if ($data == 'paypal') { $link = route('front.paypal.submit'); } else if ($data == 'stripe') { $link = route('front.stripe.submit'); } else if ($data == 'instamojo') { $link = route('front.instamojo.submit'); } else if ($data == 'paytm') { $link = route('front.paytm.submit'); } else if ($data == 'mollie') { $link = route('front.mollie.submit'); } else if ($data == 'paystack') { $link = route('front.paystack.submit'); } else if ($data == 'flutterwave') { $link = route('front.flutterwave.submit'); } else if ($data == 'razorpay') { $link = route('front.razorpay.submit'); } else if ($data == 'mercadopago') { $link = route('front.mercadopago.submit'); } else if ($data == 'payumoney') { $link = route('front.payumoney.submit'); } return $link; } public function showForm() { $show = ''; $data = $this->keyword == null ? 'other' : $this->keyword; $values = ['paypal']; if (in_array($data, $values)) { $show = 'no'; } else { $show = 'yes'; } return $show; } }
Save