Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

CreateCapture must return CaptureId #17

Closed
mnording opened this issue Dec 27, 2018 · 4 comments
Closed

CreateCapture must return CaptureId #17

mnording opened this issue Dec 27, 2018 · 4 comments
Assignees

Comments

@mnording
Copy link
Contributor

Considering a merchant needs captureID when adding shipping-details on a capture, the SDK must return said capture ID if the creation of the capture is successful

@alexions
Copy link
Contributor

The fix will be available in 3.1.0 version

@alexions alexions self-assigned this Jan 10, 2019
@adamfinstorp
Copy link

This isn't fixed yet as far as I can tell (using 3.1.0). CreateCapture returns null since the response body from POST /ordermanagement/v1/orders/{order_id}/captures is empty. CaptureId should be extracted from the response header Capture-Id.

@freethan
Copy link
Contributor

Indeed, re-opening and linking with #36. Thanks @adamfinstorp !

@freethan freethan reopened this Mar 19, 2019
freethan pushed a commit that referenced this issue Mar 19, 2019
@alexions
Copy link
Contributor

Fixed in the new release 3.1.2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants