File: D:/HostingSpaces/SBogers10/netwerkbrabant.komma.pro/app/KommaApp/Payments/PaymentController.php
<?php
namespace App\KommaApp\Payments;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Log;
class PaymentController extends Controller
{
/** @var PaymentService */
private $paymentService;
public function __construct()
{
parent::__construct();
$this->paymentService = \App::make(PaymentService::class);
}
public function mollieWebhook()
{
$paymentId = \Input::get('id');
$this->paymentService->updatePaymentStatus($paymentId, $this->links->events->route);
}
public function testWebhook()
{
$this->paymentService->updatePaymentStatus('tr_t7SGeyM53k', $this->links->events->route);
}
}