D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
dateitor
/
www
/
vendor
/
paypal
/
paypal-payouts-sdk
/
lib
/
PaypalPayoutsSDK
/
Core
/
Filename :
PayPalEnvironment.php
back
Copy
<?php namespace PaypalPayoutsSDK\Core; use PayPalHttp\Environment; abstract class PayPalEnvironment implements Environment { private $clientId; private $clientSecret; public function __construct($clientId, $clientSecret) { $this->clientId = $clientId; $this->clientSecret = $clientSecret; } public function authorizationString() { return base64_encode($this->clientId . ":" . $this->clientSecret); } }