mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +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
|
@ -23,6 +23,7 @@ use WooCommerce\PayPalCommerce\Button\Endpoint\RequestData;
|
||||||
*/
|
*/
|
||||||
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