Dear Paypal member, We are very happy to use the PayPal service. We have integrated PayPal payout on our server to pay the amount to our merchant. The payout has been placed successfully and displays as pending status. To get the payout success status, We have integrated webhook on our system. We have followed below steps to listen to our webhook : 1) Add our server SSL URL in the developer console application SANDBOX WEBHOOKS. 2) Once we sent payout to our merchant, Webhook event is displayed in the sandbox -> webhook event area under application 3) We have added a call and set to log file whether the event is called or not but when we have checked the log file, nothing has been added 4) We have tried to resend the same event but could not log in our server. We have used LARAVEL FRAMEWORK and below is code for logging to check event is called or not : <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Log;
class PayPalPayoutController extends Controller
{
protected $apiContext;
public function __construct()
{
}
public function webhook()
{
Log::info("Weebhook called fff");
return "megha";
}
} Can you please check our code and let us your feedback for same. @Ayushkanodiya Thanks in advance!!
... View more