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

Fix issue with refunds #92

Merged
merged 1 commit into from Jan 7, 2015
Merged

Fix issue with refunds #92

merged 1 commit into from Jan 7, 2015

Conversation

solilokiam
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes

This PR tries to solve an issue we've been experiencing this week with the refunds. We don't know the reason but when making refunds with production enviroment it always throws a PaymillException. The funny part is that the expection has a 20000 response code.

We've been debugging the comunication between paymill api and our systems and we've realized that the response code was casted to string instead of integer. We've changed the strict type comparision in response handler.

@alaczi
Copy link

alaczi commented Jan 5, 2015

Please review / merge this pull request, we have the same issue.

@solilokiam
Copy link
Contributor Author

Is anyone reviewing this PR?

@nikoloff
Copy link
Contributor

nikoloff commented Jan 7, 2015

Hi @solilokiam,
I will take care about this PR

@nikoloff nikoloff merged commit d8d4414 into paymill:master Jan 7, 2015
nikoloff added a commit that referenced this pull request Jan 7, 2015
remove type check for http response code
@alaczi alaczi mentioned this pull request Feb 26, 2015
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