mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
move api urls to constants
This commit is contained in:
parent
2f474cc8ae
commit
81bedf3a80
3 changed files with 19 additions and 19 deletions
|
@ -47,10 +47,10 @@ use WpOop\TransientCache\CachePoolFactory;
|
|||
|
||||
return array(
|
||||
'api.host' => function( $container ) : string {
|
||||
return 'https://api.paypal.com';
|
||||
return PAYPAL_API_URL;
|
||||
},
|
||||
'api.paypal-host' => function( $container ) : string {
|
||||
return 'https://api.paypal.com';
|
||||
return PAYPAL_API_URL;
|
||||
},
|
||||
'api.partner_merchant_id' => static function () : string {
|
||||
return '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue