diff --git a/go.mod b/go.mod index 93e7008..1a86f9a 100644 --- a/go.mod +++ b/go.mod @@ -17,6 +17,7 @@ require ( require ( github.com/google/go-cmp v0.7.0 // indirect + github.com/stripe/stripe-go/v79 v79.12.0 // indirect github.com/tidwall/gjson v1.18.0 // indirect github.com/tidwall/match v1.2.0 // indirect github.com/tidwall/pretty v1.2.1 // indirect diff --git a/internal/server/handle_stripe_webhook_test.go b/internal/server/handle_stripe_webhook_test.go index 8472bda..9e9f038 100644 --- a/internal/server/handle_stripe_webhook_test.go +++ b/internal/server/handle_stripe_webhook_test.go @@ -2,7 +2,9 @@ package server import ( "context" + "encoding/hex" "encoding/json" + "fmt" "net/http" "net/http/httptest" "strings"