Skip to content
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 Issuing Dispute Submit API #944

Merged
merged 2 commits into from Sep 2, 2020

Conversation

remi-stripe
Copy link
Contributor

The change is to add the new /v1/issuing/disputes/idp_123/submit endpoint but the tests needed to be fixed due to an ongoing stripe-mock issue around includable sub-lists.

Assigning to Brandur for familiarity with stripe-ruby and the current bug discussed in stripe-mock

r? @brandur-stripe
cc @stripe/api-libraries

Some of the tests had to be changed/mocked because stripe-mock has a bug
where the includable sub-lists it returns have the wrong url set.
Because of this, when you call create/list/etc. on one of those sub-lists
the calls fails due to that URL being incorrect.
Moved one test to use charge+refund (auto-expanded) and another used a
mock to have the right URL returned.
Copy link
Contributor

@brandur-stripe brandur-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for adding a comment on that manual mock override.

@remi-stripe remi-stripe merged commit 683b101 into master Sep 2, 2020
@remi-stripe remi-stripe deleted the remi/codegen-474461f branch September 2, 2020 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants