Ingenico-ePayments / connect-sdk-php

Ingenico Connect PHP Server SDK
https://docs.connect.worldline-solutions.com/documentation/sdk/server/php/
MIT License
39 stars 16 forks source link

Add classmap for HTTP status code 201 on CaptureRequest #6

Closed powli closed 6 years ago

powli commented 6 years ago

The Ogone endpoint will return HTTP Status code 201 for capture requests, which is currently not handled by the ResponseFactory. I'm not sure, if handling status code 200 is necessary at all, since, although the documentation states it will be returned, the API only returns HTTP status code 201 from my experiences.

rob-spoor commented 6 years ago

Release 5.11.2 fixes this issue.