[RSS Feed/News] Allow customisation of payment callback response within payment handler

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I'm creating a new payment provider integration, and it requires a certain response to be output when the webhook has been processed. Currently payment_callback.php returns output with this:

PHP:

Code:
$response
    ->body(htmlspecialchars($state->logMessage))
    ->send($request);

I can't extend this, so means I can only respond with the log message, which isn't what I need, and I don't really want to change what the log message is, as I need to return XML and this isn't going to be...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom