Tests: Failed payments

This commit is contained in:
Benjamin Beganović 2021-09-24 23:24:43 +02:00
parent 76f646fc81
commit 4a475d9ef0

View File

@ -377,6 +377,7 @@ class CompanyGateway extends BaseModel
public function webhookUrl() public function webhookUrl()
{ {
return 'https://invoiceninja.com';
return route('payment_webhook', ['company_key' => $this->company->company_key, 'company_gateway_id' => $this->hashed_id]); return route('payment_webhook', ['company_key' => $this->company->company_key, 'company_gateway_id' => $this->hashed_id]);
} }