forked from LiveCarta/PayPal-PHP-SDK
- Updated AuthTokenCredential to store access token in file storage - Updated samples to include the configuration to disable/enable caching
23 lines
557 B
PHP
23 lines
557 B
PHP
<?php
|
|
|
|
namespace PayPal\Core;
|
|
|
|
/**
|
|
* Class PPConstants
|
|
* Placeholder for Paypal Constants
|
|
*
|
|
* @package PayPal\Core
|
|
*/
|
|
class PPConstants
|
|
{
|
|
|
|
const SDK_NAME = 'PayPal-PHP-SDK';
|
|
const SDK_VERSION = '0.16.0';
|
|
|
|
const REST_SANDBOX_ENDPOINT = "https://api.sandbox.paypal.com/";
|
|
const OPENID_REDIRECT_SANDBOX_URL = "https://www.sandbox.paypal.com/webapps/auth/protocol/openidconnect";
|
|
|
|
const REST_LIVE_ENDPOINT = "https://api.paypal.com/";
|
|
const OPENID_REDIRECT_LIVE_URL = "https://www.paypal.com/webapps/auth/protocol/openidconnect";
|
|
}
|