Minor fixes for Checkout.com

This commit is contained in:
David Bomba 2021-10-13 17:01:51 +11:00
parent 105e6282be
commit 0836035e40

View File

@ -149,6 +149,12 @@ class CreditCard
'company_gateway_id' => $this->checkout->company_gateway->hashed_id,
'hash' => $this->checkout->payment_hash->hash,
]);
$payment->{'failure_url'} = route('checkout.3ds_redirect', [
'company_key' => $this->checkout->client->company->company_key,
'company_gateway_id' => $this->checkout->company_gateway->hashed_id,
'hash' => $this->checkout->payment_hash->hash,
]);
}
try {