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

Update checksum models #102

Merged
merged 4 commits into from
Jun 15, 2015
Merged

Conversation

tschelabaumann
Copy link
Contributor

Wrapper updates due to the latest API updates.

@stoilkov stoilkov self-assigned this Jun 9, 2015
*/
public function validateResponse($response)
{
$returnValue = false;
if ($response['header']['status'] == 200) {
Copy link
Contributor

Choose a reason for hiding this comment

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

this change is not backwards compatible, the new version of the wrapper should be 4.0.0

Copy link
Contributor

Choose a reason for hiding this comment

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

It is. It won't break existing implementations. It removed warnings if index isn't set and extends the range. Maybe I overlooked something, but what makes it not backwards compatible?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because of the handling implemented on the merchants side. A response != 20000 was nerver valid until now. Valid could be implement as success, which is not the case any more.

Copy link
Contributor

Choose a reason for hiding this comment

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

You're right. 4.0.0 it is.

christian-kolb added a commit that referenced this pull request Jun 15, 2015
4.0.0
Added shipping and billing address
Added shopping cart (items)
Added PayPal functionality
Possible BC break in ResponseHandler.php
@christian-kolb christian-kolb merged commit 7905d35 into paymill:master Jun 15, 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.

None yet

3 participants