-
Notifications
You must be signed in to change notification settings - Fork 463
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
Move to API version 2019-08-14 and other changes #915
Conversation
2f0690b
to
96e847a
Compare
96e847a
to
4a75956
Compare
LGTM! Love the various cleanups here. Reassigning to @brandur-stripe for a second look just in case. |
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.
One comment, but LGTM Remi! Thanks for remembering that all these TODOs even existed.
ptal @remi-stripe
@@ -242,7 +219,7 @@ type PaymentIntent struct { | |||
Customer *Customer `json:"customer"` | |||
Description string `json:"description"` | |||
Invoice *Invoice `json:"invoice"` | |||
LastPaymentError *PaymentIntentLastPaymentError `json:"last_payment_error"` | |||
LastPaymentError *Error `json:"last_payment_error"` |
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.
Just flagging that it looks like DocURL
will go away with this change. I think it may just be an oversight that it's not on the standard Error
struct?
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.
Damn nice catch, yes looks like an oversight, let me add this
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.
Fixed! 🦅 👁
4a75956
to
10bbc4f
Compare
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.
Thanks Remi! LGTM.
10bbc4f
to
f063d15
Compare
* Pin to API version 2019-08-14 * Rename AccountCapabilityPlatformPayments to AccountCapabilityTransfers * Add `Executive` in `PersonRelationship` * Remove `PayentMethodOptions` as there was a typo which was fixed. * Make `OffSession` only support booleans on `PaymentIntent` * Remove `PaymentIntentLastPaymentError` and use `Error` instead * Move `DeclineCode` on `Error` to the `DeclineCode` instead of `string`
f063d15
to
30f0381
Compare
Released as 62.0.0. |
Executive
inPersonRelationship
PayentMethodOptions
as there was a typo which was fixed.OffSession
only support booleans onPaymentIntent
PaymentIntentLastPaymentError
and useError
insteadDeclineCode
onError
to theDeclineCode
instead ofstring
r? @ob-stripe @brandur-stripe (tagging you both are there are multiple changes
cc @stripe/api-libraries