Getting blank response in webhook call after invoice paid

psofttech124
Contributor
Contributor

I am getting no data at my url call by webhook when invoice is paid.

i am working in php. Below is code written at my webhook url to read response of webhook call by paypal.

 

$request_body = file_get_contents('php://input');
$request_body = json_decode($request_body);
$request_body = print_r($request_body, true);

 

It logs data in log file at my server.

Is anything wrong or am i missing something?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.