Cart fixes (backend), adjusted header, added footer, mobile formatting updates

This commit is contained in:
augmentedpotato
2026-04-14 05:24:40 -06:00
parent 5bd1933ea6
commit 4c3c11995a
14 changed files with 776 additions and 107 deletions

View File

@@ -91,3 +91,12 @@ export async function apiCompleteCheckout(token, paymentIntentId) {
return handleResponse(res);
}
export async function apiCancelCheckout(token, storeId) {
const res = await fetch(`${BASE}/checkout/cancel?storeId=${storeId}`, {
method: "POST",
headers: authHeaders(token),
});
return handleResponse(res);
}