mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Store the WC STORE API endpoint in constant
This commit is contained in:
parent
65aa05f9c0
commit
b5fa8972d0
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ use WooCommerce\PayPalCommerce\Button\Endpoint\RequestData;
|
||||||
* Class UpdateShippingEndpoint
|
* Class UpdateShippingEndpoint
|
||||||
*/
|
*/
|
||||||
class UpdateShippingEndpoint implements EndpointInterface {
|
class UpdateShippingEndpoint implements EndpointInterface {
|
||||||
const ENDPOINT = 'ppc-update-shipping';
|
const ENDPOINT = 'ppc-update-shipping';
|
||||||
|
const WC_STORE_API_ENDPOINT = '/wp-json/wc/store/cart/';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Request Data Helper.
|
* The Request Data Helper.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue