public function __construct(private PayPal $provider) 	{ 		$this->mode = setting('paypal_sandbox') ? self::SANDBOX : self::LIVE; 		$this->clientId = $this->mode == self::SANDBOX ? setting('paypal_sandbox_client_id') : setting('paypal_client_id'); 		$this->clientSecret = $this->mode == self::SANDBOX ? setting('paypal_sandbox_client_secret') : setting('paypal_client_secret');  		$this->setConfig();  		$this->provider->setApiCredentials($this->config); 		$this->provider->getAccessToken(); 	}