Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

No response returned for captureAuthorizedOrder() #10

Open
aditya-cherukuri opened this issue Jul 30, 2016 · 1 comment
Open

No response returned for captureAuthorizedOrder() #10

aditya-cherukuri opened this issue Jul 30, 2016 · 1 comment

Comments

@aditya-cherukuri
Copy link

It would be nice to be able to get the response for captureAuthorizedOrder().

In the case where the $amount is specified and a $json is present, the $expectResponse parameter is set to true for the sendRequest() method. But there is no way for the end user to retrieve that response because the captureAuthorizedOrder() doesn't return anything.

It would also be nice to retrieve the response irrespective of whether the $amount is specified or not.

Or is there a reason why the response is not returned?

@mattgorle
Copy link

I've just encountered this exact problem in a project that I'm working on.

@aditya-cherukuri's pull request (#12) looks perfect to me. I'd really rather not go editing the files in the vendor directory in case they are clobbered by a future code update upstream.

Any chance of a merge of #12?

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

No branches or pull requests

2 participants