Use api-m PayPal API URLs

Switched to the new API endpoints. Seems to work fine, the same as before.
This commit is contained in:
Alex P 2023-09-29 17:20:47 +03:00
parent e530382a7c
commit 6979747caf
No known key found for this signature in database
GPG key ID: 54487A734A204D71
3 changed files with 15 additions and 15 deletions

View file

@ -40,8 +40,8 @@ class ModularTestCase extends TestCase
$wpdb->posts = '';
$wpdb->postmeta = '';
!defined('PAYPAL_API_URL') && define('PAYPAL_API_URL', 'https://api.paypal.com');
!defined('PAYPAL_SANDBOX_API_URL') && define('PAYPAL_SANDBOX_API_URL', 'https://api.sandbox.paypal.com');
!defined('PAYPAL_API_URL') && define('PAYPAL_API_URL', 'https://api-m.paypal.com');
!defined('PAYPAL_SANDBOX_API_URL') && define('PAYPAL_SANDBOX_API_URL', 'https://api-m.sandbox.paypal.com');
!defined('PAYPAL_INTEGRATION_DATE') && define('PAYPAL_INTEGRATION_DATE', '2020-10-15');
!defined('PPCP_FLAG_SUBSCRIPTION') && define('PPCP_FLAG_SUBSCRIPTION', true);