Add an Event hook for after Gateway response is returned #2928
Unanswered
mediabeastnz
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
-
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