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

Allow configuring Stripe-Version at the gateway level #167

Merged
merged 1 commit into from
Jan 5, 2020

Conversation

anush
Copy link
Contributor

@anush anush commented Jan 4, 2020

This change allows setting the Stripe version header at the gateway level. We routinely parse out some of the additional data returned by Stripe in our application and require all requests to be tied to a specific version.

No additional tests are needed since GatewayTestCase::testDefaultParametersHaveMatchingMethods automatically tests all default parameter getters and setters.

This change expands on #136 (which only allows setting the version at the request level).

This possibly fixes #135.

This also supersedes / fixes #110 which appears to be stale due to #136.

@barryvdh barryvdh merged commit a303eda into thephpleague:master Jan 5, 2020
@anush anush deleted the gateway_version branch January 7, 2020 18:34
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.

set Stripe api version seems to be ignored
2 participants