Skip to content

Commit

Permalink
Upgrade to Adyen Go v11
Browse files Browse the repository at this point in the history
  • Loading branch information
Beppe Catanese committed Nov 29, 2024
1 parent 694581e commit a91b11c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions src/web/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Check failure on line 6 in src/web/api.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/adyen/adyen-go-api-library/v11/src/webhook (imported by golang-online-payments/src/web); to add:
"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"

Check failure on line 12 in src/web/api.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/adyen/adyen-go-api-library/v11/src/checkout (imported by golang-online-payments/src/web); to add:
"github.com/adyen/adyen-go-api-library/v11/src/common"

Check failure on line 13 in src/web/api.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/adyen/adyen-go-api-library/v11/src/common (imported by golang-online-payments/src/web); to add:
"github.com/adyen/adyen-go-api-library/v11/src/hmacvalidator"

Check failure on line 14 in src/web/api.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/adyen/adyen-go-api-library/v11/src/hmacvalidator (imported by golang-online-payments/src/web); to add:
"github.com/gin-gonic/gin"
"github.com/google/uuid"
)
Expand Down
4 changes: 2 additions & 2 deletions src/web/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Check failure on line 7 in src/web/setup.go

View workflow job for this annotation

GitHub Actions / build

missing go.sum entry for module providing package github.com/adyen/adyen-go-api-library/v11/src/adyen (imported by golang-online-payments/src/web); to add:
"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"
Expand Down

0 comments on commit a91b11c

Please sign in to comment.