#cbarreda-go

1 messages · Page 1 of 1 (latest)

bleak sleet
#

hello @upbeat sky! are you using the latest version of the stripe-go sdk?

upbeat sky
#

Good question. Need to check.

#

It used to be on the Dashboard->Developers but don't see it there anymore. Where do I find the version at?

#

Version 2020-08-27 I think it is the latest

bleak sleet
#

i'm making a guess here, but typically you should be importing the stripe-go package in your go code

#

we'd want to know the stripe-go sdk version that you're using

upbeat sky
#

71.28.0

#

Dashboard says: 2020-08-27 Version text file says: 71.28.0

#

Version text file at the root of stripe-go

bleak sleet
#

maybe you should try updating to the latest stripe-go version and see if that works

upbeat sky
#

Dashboard says I'm using the latest. Don't see an option to upgrade.

bleak sleet
#

the api version and the stripe-go sdk version are two separate matters

upbeat sky
#

Oh, would you know how I update the sdk?

bleak sleet
#

in your Go program code, you probably would have referenced the stripe-go sdk like

import (
    "github.com/stripe/stripe-go/v72"
    "github.com/stripe/stripe-go/v72/customer"
)
#

if you're referring to v71, then try updating it to refer to v72

upbeat sky
#

Ok, I'll look into this. I thought that when I upgraded the API the process upgraded the files in github.com/stripe/stripe-go (I don't have V71 or V72). I'll research this. Thanks!

bleak sleet
#

you're welcome! feel free to reach out again if you're still running into issues!

upbeat sky
#

Thanks Alex.