Skip to content

[3.0] Notification Response / answer #327

Open
@barryvdh

Description

@barryvdh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions