Open
Description
Some gateways require a specific answer on the NotifyURL, eg. OK
or sometimes something depending on the status/reference.
This would usually be the case for off-site payment, in the CompletePurchaseResponse.
I can't recall any that need a different status, other than 200, but we could have a getNotificationResponse()
method which returns a PSR-7 response, or getNotificationMessage
/getNotificationReply
/getNotificationAnswer
etc. Or just use the response getNotificationResponse()->getBody()
. Along with an interface + hasReply
so it can be checked for all gateways.