better handling of payment in progress
Some checks failed
Build and Publish / BuildAndDeploy (push) Successful in 3m7s
Build and Publish / BuildAndDeployAmd64 (push) Has been cancelled

This commit is contained in:
matst80
2025-04-18 17:36:09 +02:00
parent 49cebad861
commit ee292b30cb
2 changed files with 126 additions and 104 deletions

View File

@@ -224,7 +224,7 @@ func main() {
Status: klarnaOrderResponse.Status},
})
if err != nil {
log.Printf("Error processing message: %v\n", err)
log.Printf("Error processing cart message: %v\n", err)
w.WriteHeader(http.StatusInternalServerError)
w.Write([]byte(err.Error()))
return