diff --git a/go.mod b/go.mod index 7d7696e..c2ffca6 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module golang-online-payments go 1.19 require ( - github.com/adyen/adyen-go-api-library/v9 v9.4.0 + github.com/adyen/adyen-go-api-library/v11 v11.0.0 github.com/gin-gonic/contrib v0.0.0-20191209060500-d6e26eeaa607 github.com/gin-gonic/gin v1.10.0 github.com/google/uuid v1.6.0 diff --git a/go.sum b/go.sum index 7b81992..1a28f62 100644 --- a/go.sum +++ b/go.sum @@ -601,8 +601,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/adyen/adyen-go-api-library/v9 v9.4.0 h1:c0vhle+nTLrES0tZJovbzAibRoJsK7cSG7OTcKgiJW4= -github.com/adyen/adyen-go-api-library/v9 v9.4.0/go.mod h1:We5nvvDbk06MjY4RWhM0PYJn4SNyS6UmP8Rt1rGLmR4= +github.com/adyen/adyen-go-api-library/v11 v11.0.0 h1:8WlQERsiMilsl46ZliuCsr6QAdVK//hmPmSVlVK0pF8= +github.com/adyen/adyen-go-api-library/v11 v11.0.0/go.mod h1:pH6M7VRnlkRKPb+mw6oPH+B75qdca6sa4LlaNcbNYvc= github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9/go.mod h1:JynElWSGnm/4RlzPXRlREEwqTHAN3T56Bv2ITsFT3gY= github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19/go.mod h1:T13YZdzov6OU0A1+RfKZiZN9ca6VeKdBdyDV+BY97Tk= github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= diff --git a/src/web/api.go b/src/web/api.go index 94197a0..8aadabb 100644 --- a/src/web/api.go +++ b/src/web/api.go @@ -3,15 +3,15 @@ package web import ( "context" "fmt" - "github.com/adyen/adyen-go-api-library/v9/src/webhook" + "github.com/adyen/adyen-go-api-library/v11/src/webhook" "io/ioutil" "log" "net/http" "net/url" - "github.com/adyen/adyen-go-api-library/v9/src/checkout" - "github.com/adyen/adyen-go-api-library/v9/src/common" - "github.com/adyen/adyen-go-api-library/v9/src/hmacvalidator" + "github.com/adyen/adyen-go-api-library/v11/src/checkout" + "github.com/adyen/adyen-go-api-library/v11/src/common" + "github.com/adyen/adyen-go-api-library/v11/src/hmacvalidator" "github.com/gin-gonic/gin" "github.com/google/uuid" ) diff --git a/src/web/setup.go b/src/web/setup.go index 6381fad..c469fa6 100644 --- a/src/web/setup.go +++ b/src/web/setup.go @@ -4,8 +4,8 @@ import ( "log" "os" - "github.com/adyen/adyen-go-api-library/v9/src/adyen" - "github.com/adyen/adyen-go-api-library/v9/src/common" + "github.com/adyen/adyen-go-api-library/v11/src/adyen" + "github.com/adyen/adyen-go-api-library/v11/src/common" "github.com/gin-gonic/contrib/static" "github.com/gin-gonic/gin" "github.com/joho/godotenv"