Update pool-server.go
All checks were successful
Build and Publish / Metadata (push) Successful in 10s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 51s
Build and Publish / BuildAndDeployArm64 (push) Successful in 5m19s

This commit is contained in:
matst80
2025-11-18 20:45:05 +01:00
parent 8905c5809c
commit 78436f39ae

View File

@@ -349,7 +349,7 @@ func (s *PoolServer) CreateOrUpdateCheckout(r *http.Request, id cart.CartId) (*C
meta := &CheckoutMeta{ meta := &CheckoutMeta{
Terms: fmt.Sprintf("https://%s/terms", host), Terms: fmt.Sprintf("https://%s/terms", host),
Checkout: fmt.Sprintf("https://%s/checkout?order_id={checkout.order.id}", host), Checkout: fmt.Sprintf("https://%s/checkout?order_id={checkout.order.id}", host),
Confirmation: fmt.Sprintf("https://%s/confirmation/{checkout.order.id}", r.Host), Confirmation: fmt.Sprintf("https://%s/confirmation/{checkout.order.id}", host),
Country: country, Country: country,
Currency: getCurrency(country), Currency: getCurrency(country),
Locale: getLocale(country), Locale: getLocale(country),