Fixes for base driver

This commit is contained in:
David Bomba 2021-07-05 10:30:47 +10:00
parent e52f93be74
commit f8a11232a6

View File

@ -552,11 +552,11 @@ class BaseDriver extends AbstractPaymentDriver
{
return route('payment_notification_webhook', [
'company_key' => $this->client->company->company_key,
'company_gateway_id' => $this->company_gateway->id,
'client' => $this->client->id,
'company_gateway_id' => $this->encodePrimaryKey($this->company_gateway->id),
'client' => $this->encodePrimaryKey($this->client->id),
]);
}
/* Performs an extra iterate on the gatewayTypes() array and passes back only the enabled gateways*/
public function gatewayTypeEnabled($type)
{