mirror of
https://github.com/vercel/commerce.git
synced 2025-03-27 15:55:54 +00:00
* Add ordercloud provider * Fix provider errors * Make submit checkout optional * Make submit checkout optional * Remove nullables when creating endpoint type * Update readme * Log checkout error * Log error * Save token to cookie * Update fetch rest * Use token at checkout Co-authored-by: Luis Alvarez <luis@vercel.com>
7 lines
265 B
TypeScript
7 lines
265 B
TypeScript
export const CART_COOKIE = 'ordercloud.cart'
|
|
export const TOKEN_COOKIE = 'ordercloud.token'
|
|
export const CUSTOMER_COOKIE = 'ordercloud.customer'
|
|
export const API_URL = 'https://sandboxapi.ordercloud.io'
|
|
export const API_VERSION = 'v1'
|
|
export const LOCALE = 'en-us'
|