Payment Provider - Custom response to a Webhook event #12887
sergkoudi
started this conversation in
Feature Requests
Replies: 1 comment
-
|
upvote :) |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Many payment providers require specific responses to notifications about payment statuses, otherwise they won't stop sending it.
Examples are different, like
OKmessage in the response body, or containing a payment ID.So far, only 200 HTTP-status is send back or 400 for an error, check here.
Suggestion is to extend the
getWebhookActionAndDatainterface method to allow return a custom body for the response and may be HTTP code.For the moment, the workaround is creating a custom API route to proxy the Webhook Listener API route.
Beta Was this translation helpful? Give feedback.
All reactions