Add an Event hook for after Gateway response is returned #2928
Unanswered
mylesthedev
asked this question in
Ideas
Replies: 2 comments
-
We've got the same need. +1 for a PHP: 8.0.8 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same here, this would be great to have! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There is already a hook
EVENT_BEFORE_GATEWAY_REQUEST_SEND
however there isn't one after the response is returned from the gateway.The reason this would be helpful is some gateways return encoded responses and might need decoding (See PlatoCreative/commerce-payment-express#5 (comment))
I believe this should happen after this line
$this->sendRequest($request);
Beta Was this translation helpful? Give feedback.
All reactions