From 0836035e40baa22a9cb4ea649823be3ce9f632f0 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 13 Oct 2021 17:01:51 +1100 Subject: [PATCH] Minor fixes for Checkout.com --- app/PaymentDrivers/CheckoutCom/CreditCard.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/PaymentDrivers/CheckoutCom/CreditCard.php b/app/PaymentDrivers/CheckoutCom/CreditCard.php index 0cdc3c643b88..fd09cf1ce4f6 100644 --- a/app/PaymentDrivers/CheckoutCom/CreditCard.php +++ b/app/PaymentDrivers/CheckoutCom/CreditCard.php @@ -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 {