added detailed logging for preauth payment processing and result streaming

This commit is contained in:
2026-10-19 17:58:46 +01:00
parent 8a5325414b
commit 28aea4aab2
6 changed files with 188 additions and 5 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ func InsertPreauth(ctx context.Context, db *sql.DB, m map[string]string, checkou
if err != nil {
return fmt.Errorf("InsertPreauth: parsing checkoutDate %q: %w", checkoutDate, err)
}
releaseDate := checkOutDate.Add(48 * time.Hour)
releaseDate := checkOutDate.Add(96 * time.Hour)
const stmt = `
INSERT INTO dbo.Preauthorizations