From 6321ad76a13ec75ea888c3bfeeccca586d911c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mats=20T=C3=B6rnberg?= Date: Wed, 3 Dec 2025 19:29:33 +0100 Subject: [PATCH] update endpoints --- cmd/checkout/checkout_builder.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/checkout/checkout_builder.go b/cmd/checkout/checkout_builder.go index df8262d..8ccb362 100644 --- a/cmd/checkout/checkout_builder.go +++ b/cmd/checkout/checkout_builder.go @@ -113,8 +113,8 @@ func BuildCheckoutOrderPayload(grain *checkout.CheckoutGrain, meta *CheckoutMeta MerchantReference1: grain.Id.String(), MerchantURLS: &CheckoutMerchantURLS{ Terms: fmt.Sprintf("%s/terms", meta.SiteUrl), - Checkout: fmt.Sprintf("%s/checkout?order_id={checkout.order.id}", meta.SiteUrl), - Confirmation: fmt.Sprintf("%s/confirmation/{checkout.order.id}", meta.SiteUrl), + Checkout: fmt.Sprintf("%s/checkout?order_id={checkout.order.id}&provider=klarna", meta.SiteUrl), + Confirmation: fmt.Sprintf("%s/confirmation?order_id={checkout.order.id}&provider=klarna", meta.SiteUrl), Notification: "https://cart.k6n.net/payment/klarna/notification", Validation: "https://cart.k6n.net/payment/klarna/validate", Push: "https://cart.k6n.net/payment/klarna/push?order_id={checkout.order.id}",