app/Transactions/Paypal/PayPalClient.php
/**
     * Set up and return PayPal PHP SDK environment with PayPal access credentials.
     * This sample uses SandboxEnvironment. In production, use ProductionEnvironment.
     * 
     * @return SandboxEnvironment|ProductionEnvironment the current paypal environment
     */
Set up and return PayPal PHP SDK environment with PayPal access credentials.
This sample uses SandboxEnvironment. In production, use ProductionEnvironment.


Set up and return PayPal PHP SDK environment with PayPal access credentials . This sample uses SandboxEnvironment . In production use ProductionEnvironment .
public static function environment()
    {
        $clientId = "ARUXEnyQQp099Pqvt3FdRJhogIkZ2C-Tg8b_W6Haaf6GucRXwF0TPc4sl-JalmFSWYokVZqOb-ljTBmM";
        $clientSecret = "EGMU3dJxatbSqcCZ6E5j4hT874F9y1JQs5QAtj2nwJAYKMYSxr2HsePJ5_xyqKGGWI8ECJIOdE__QAJT";
        return new SandboxEnvironment($clientId, $clientSecret);
    }
public static function environment ( ) { $ clientId = " ARUXEnyQQp099Pqvt3FdRJhogIkZ2C-Tg8b_W6Haaf6GucRXwF0TPc4sl-JalmFSWYokVZqOb-ljTBmM " ; $ clientSecret = " EGMU3dJxatbSqcCZ6E5j4hT874F9y1JQs5QAtj2nwJAYKMYSxr2HsePJ5_xyqKGGWI8ECJIOdE__QAJT " ; return new SandboxEnvironment ( $ clientId , $ clientSecret ) ; }
Set up and return PayPal PHP SDK environment with PayPal access credentials.
Set up and return PayPal PHP SDK environment with PayPal access credentials .