mirror of
https://github.com/tavo-wasd-gh/conex-builder.git
synced 2025-06-07 12:13:30 -06:00
unlog
This commit is contained in:
parent
6081d915e9
commit
b81d3fb68f
1 changed files with 0 additions and 3 deletions
|
@ -5,7 +5,6 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"log"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
@ -191,8 +190,6 @@ func CaptureOrder(orderID string) (Capture, Receipt, error) {
|
||||||
var receipt Receipt
|
var receipt Receipt
|
||||||
|
|
||||||
body, err := io.ReadAll(raw.Body)
|
body, err := io.ReadAll(raw.Body)
|
||||||
log.Printf("Raw Body: %s", string(body))
|
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return Capture{}, Receipt{}, fmt.Errorf("%s: %v", errCaptureOrderResp, err)
|
return Capture{}, Receipt{}, fmt.Errorf("%s: %v", errCaptureOrderResp, err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue