Add in verification view for gocardless

This commit is contained in:
David Bomba 2023-04-25 08:06:27 +10:00
parent 1bcb76a63a
commit d8a4994e20
3 changed files with 13 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class DirectDebit implements MethodInterface
/** /**
* Handle unsuccessful authorization. * Handle unsuccessful authorization.
* *
* @param Exception $exception * @param \Exception $exception
* @throws PaymentFailed * @throws PaymentFailed
* @return void * @return void
*/ */

View File

@ -542,4 +542,9 @@ class GoCardlessPaymentDriver extends BaseDriver
return $client; return $client;
} }
public function verificationView()
{
return render('gateways.gocardless.verification');
}
} }

View File

@ -0,0 +1,7 @@
@extends('portal.ninja2020.layout.payments', ['gateway_title' => ctrans('texts.payment_type_gocardless'), 'card_title' => ctrans('texts.complete_verification')])
@section('gateway_content')
@component('portal.ninja2020.components.general.card-element-single')
This payment method is still in a pending state and has not yet been verified. Please contact your vendor for more information.
@endcomponent
@endsection