removed insertion of transaction into db
This commit is contained in:
parent
41cf71a253
commit
b303481b5f
6
main.go
6
main.go
@ -310,9 +310,9 @@ func (app *App) startTransaction(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Insert into DB
|
// Insert into DB
|
||||||
if err := payment.InsertTransactionRecord(r.Context(), app.db, result); err != nil {
|
// if err := payment.InsertTransactionRecord(r.Context(), app.db, result); err != nil {
|
||||||
log.Errorf("DB insert error: %v", err)
|
// log.Errorf("DB insert error: %v", err)
|
||||||
}
|
// }
|
||||||
|
|
||||||
theResponse.Data = payment.BuildRedirectURL(result)
|
theResponse.Data = payment.BuildRedirectURL(result)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user