mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 04:58:28 +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 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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue