diff --git a/partnerapi/onpoint/onpoint.go b/partnerapi/onpoint/onpoint.go index b3a686d..0626abc 100644 --- a/partnerapi/onpoint/onpoint.go +++ b/partnerapi/onpoint/onpoint.go @@ -3,6 +3,7 @@ package onpoint import ( "errors" "fmt" + "log" "net/http" "strconv" "strings" @@ -221,6 +222,8 @@ func (c *Client) requestHttpViaNats(data model.CommunicationRequestHttp, res int ts, } s := strings.Join(arr, ".") + log.Println("DEBUG: onpoint. secret_message:", s) + log.Println("DEBUG: onpoint. secret_key:", c.secretKey) // sign data sign := hashSHA256AndUppercase(s, c.secretKey) data.Payload.Header = map[string]string{