-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for the BillingPortal
namespace and the Session
API and resource
#1063
Conversation
b5856b8
to
49d3c87
Compare
BillingPortal
namespace and the Session
API and resourceBillingPortal
namespace and the Session
API and resource
49d3c87
to
db25b66
Compare
I'm hitting a weird error locally
I don't understand what is causing those errors at the moment and whether it's related to the change with module or the fact that this is the first namespace with 2 words. Running |
billingportal/session/client.go
Outdated
import ( | ||
"net/http" | ||
|
||
stripe "github.com/stripe/stripe-go" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try adding v71
to the end of this like:
stripe "github.com/stripe/stripe-go/v71"
Unfortunately this is needed for all stripe-go require paths now.
billingportal/session/client_test.go
Outdated
"testing" | ||
|
||
assert "github.com/stretchr/testify/require" | ||
stripe "github.com/stripe/stripe-go" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And same with this one: v71
at the end.
@remi-stripe I think it's just a minor problem with the format of your ptal @remi-stripe |
db25b66
to
bd7c983
Compare
Ah gotcha, it's the bad luck of having starting the PR before the major was merged. Okay fixed all the issues, PTAL @brandur-stripe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
cc @stripe/api-libraries
cc @alexander-stripe