From a8595101ff3752cd9aca00642ea45ac93852adf8 Mon Sep 17 00:00:00 2001 From: Max Postema <46395349+MaxPostema@users.noreply.github.com> Date: Wed, 4 Sep 2024 14:38:36 +0200 Subject: [PATCH] fix(directory): re-add a missing negotiator redirect (#4180) --- apps/directory/src/stores/checkoutStore.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/directory/src/stores/checkoutStore.js b/apps/directory/src/stores/checkoutStore.js index 0a666b944e..a5efceaf64 100644 --- a/apps/directory/src/stores/checkoutStore.js +++ b/apps/directory/src/stores/checkoutStore.js @@ -247,6 +247,9 @@ export const useCheckoutStore = defineStore("checkoutStore", () => { } else { throw new Error("Negotiator is not available. Please try again later."); } + + const body = await response.json(); + window.location.href = body.redirect_uri; } return {