update endpoints
This commit is contained in:
@@ -113,8 +113,8 @@ func BuildCheckoutOrderPayload(grain *checkout.CheckoutGrain, meta *CheckoutMeta
|
|||||||
MerchantReference1: grain.Id.String(),
|
MerchantReference1: grain.Id.String(),
|
||||||
MerchantURLS: &CheckoutMerchantURLS{
|
MerchantURLS: &CheckoutMerchantURLS{
|
||||||
Terms: fmt.Sprintf("%s/terms", meta.SiteUrl),
|
Terms: fmt.Sprintf("%s/terms", meta.SiteUrl),
|
||||||
Checkout: fmt.Sprintf("%s/checkout?order_id={checkout.order.id}", meta.SiteUrl),
|
Checkout: fmt.Sprintf("%s/checkout?order_id={checkout.order.id}&provider=klarna", meta.SiteUrl),
|
||||||
Confirmation: fmt.Sprintf("%s/confirmation/{checkout.order.id}", meta.SiteUrl),
|
Confirmation: fmt.Sprintf("%s/confirmation?order_id={checkout.order.id}&provider=klarna", meta.SiteUrl),
|
||||||
Notification: "https://cart.k6n.net/payment/klarna/notification",
|
Notification: "https://cart.k6n.net/payment/klarna/notification",
|
||||||
Validation: "https://cart.k6n.net/payment/klarna/validate",
|
Validation: "https://cart.k6n.net/payment/klarna/validate",
|
||||||
Push: "https://cart.k6n.net/payment/klarna/push?order_id={checkout.order.id}",
|
Push: "https://cart.k6n.net/payment/klarna/push?order_id={checkout.order.id}",
|
||||||
|
|||||||
Reference in New Issue
Block a user