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

Bug fix for refund_application_fee #21

Merged
merged 2 commits into from
Apr 14, 2015

Conversation

andrewtweber
Copy link
Contributor

fa2ad61 included the refund_application_fee parameter. Had two minor issues with it.

  • Parameter was missing from Void requests. I modified VoidRequest class to extend RefundRequest
  • Set the value to boolean true, which Guzzle converts to integer 1 instead of string "true". Stripe expects a string value "true" or "false". See Boolean values guzzle/guzzle#588

andrewtweber added 2 commits April 8, 2015 15:45
@andrewtweber
Copy link
Contributor Author

Just a quick bump, could we get this merged? dev-master as it currently stands does not process refunds correctly. Thanks!

greydnls added a commit that referenced this pull request Apr 14, 2015
Bug fix for refund_application_fee
@greydnls greydnls merged commit 906377e into thephpleague:master Apr 14, 2015
@cfreear
Copy link
Contributor

cfreear commented Apr 15, 2015

@andrewtweber thanks for fixing this and apologies for introducing the bug in the first place!

@andrewtweber
Copy link
Contributor Author

@cfreear No problem. The void thing was not your fault, it was a pull request I had submitted after yours but was merged before yours :) And the "true" thing could happen to anybody

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.

3 participants