all the refactor
Build and Publish / BuildAndDeployAmd64 (push) Failing after 5s
Build and Publish / BuildAndDeployArm64 (push) Failing after 6s

This commit is contained in:
2026-06-28 17:51:52 +02:00
parent 7db0d236c7
commit aa8b2bdedc
84 changed files with 4328 additions and 2344 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func HandleInitializeCheckout(g *CheckoutGrain, m *messages.InitializeCheckout)
}
g.CartTotalPrice = g.CartState.TotalPrice
g.AmountInCentsRemaining = g.CartTotalPrice.IncVat
g.AmountInCentsRemaining = g.CartTotalPrice.IncVat.Int64()
return nil
}
+1 -1
View File
@@ -36,7 +36,7 @@ func HandlePaymentCompleted(g *CheckoutGrain, m *messages.PaymentCompleted) erro
// Update checkout status
g.PaymentInProgress--
sum := g.CartState.TotalPrice.IncVat
sum := g.CartState.TotalPrice.IncVat.Int64()
for _, payment := range g.SettledPayments() {
sum -= payment.Amount