diff --git a/src/pages/app/checkout.tsx b/src/pages/app/checkout.tsx index 54048b6..22420cd 100644 --- a/src/pages/app/checkout.tsx +++ b/src/pages/app/checkout.tsx @@ -224,7 +224,7 @@ const CheckoutPage = () => { navigateToTransaction( - transactionInitializeResult.data.transactionInitialize?.transaction?.id + transactionInitializeResult.data?.transactionInitialize?.transaction?.id ) } cursor="pointer" diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..96ff4ed --- /dev/null +++ b/vercel.json @@ -0,0 +1,7 @@ +{ + "functions": { + "src/pages/api/webhooks/saleor/**/*": { + "memory": 256 + } + } +} \ No newline at end of file