mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
make sure a response is returned
This commit is contained in:
parent
27966d47f9
commit
f2f688a64a
1 changed files with 3 additions and 0 deletions
|
@ -59,6 +59,9 @@ class IncomingWebhookEndpoint
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$response = ['success' => false];
|
||||||
|
return rest_ensure_response($response);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function url() : string {
|
public function url() : string {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue