Compare commits

..
1 Commits
Author SHA1 Message Date
Yurii b303481b5f removed insertion of transaction into db 2025-07-04 12:46:50 +01:00
+3 -3
View File
@@ -310,9 +310,9 @@ func (app *App) startTransaction(w http.ResponseWriter, r *http.Request) {
}
// Insert into DB
if err := payment.InsertTransactionRecord(r.Context(), app.db, result); err != nil {
log.Errorf("DB insert error: %v", err)
}
// if err := payment.InsertTransactionRecord(r.Context(), app.db, result); err != nil {
// log.Errorf("DB insert error: %v", err)
// }
theResponse.Data = payment.BuildRedirectURL(result)