mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add in verification view for gocardless
This commit is contained in:
parent
1bcb76a63a
commit
d8a4994e20
@ -143,7 +143,7 @@ class DirectDebit implements MethodInterface
|
||||
/**
|
||||
* Handle unsuccessful authorization.
|
||||
*
|
||||
* @param Exception $exception
|
||||
* @param \Exception $exception
|
||||
* @throws PaymentFailed
|
||||
* @return void
|
||||
*/
|
||||
|
@ -542,4 +542,9 @@ class GoCardlessPaymentDriver extends BaseDriver
|
||||
|
||||
return $client;
|
||||
}
|
||||
|
||||
public function verificationView()
|
||||
{
|
||||
return render('gateways.gocardless.verification');
|
||||
}
|
||||
}
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user