From 12cebd9c1c1d50195d8fba78eb858a9f1ea8c95c Mon Sep 17 00:00:00 2001 From: Tobias Johansson Date: Wed, 16 Apr 2025 07:34:27 +0000 Subject: [PATCH] Merged in fix/add-route-for-app-callback (pull request #1810) fix: add route for app payment callback * fix: add route for app payment callback Approved-by: Michael Zetterberg --- apps/scandic-web/app/api/app/payment-callback/route.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 apps/scandic-web/app/api/app/payment-callback/route.ts diff --git a/apps/scandic-web/app/api/app/payment-callback/route.ts b/apps/scandic-web/app/api/app/payment-callback/route.ts new file mode 100644 index 000000000..1f2952e19 --- /dev/null +++ b/apps/scandic-web/app/api/app/payment-callback/route.ts @@ -0,0 +1,5 @@ +// App need to supply a callback url when initiating Planet and this route will be used for that. +// The user wont see this, since the webview will be closed before that +export function GET() { + return new Response("Success!") +}