mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 06:04:30 -04:00
PayPal authorize page message
This commit is contained in:
parent
0e905371c5
commit
78f87a8da0
@ -28,6 +28,18 @@ class PayPal
|
|||||||
$this->braintree->init();
|
$this->braintree->init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function authorizeView(array $data)
|
||||||
|
{
|
||||||
|
$data['gateway'] = $this->braintree;
|
||||||
|
|
||||||
|
return render('gateways.braintree.paypal.authorize', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function authorizeResponse($data): \Illuminate\Http\RedirectResponse
|
||||||
|
{
|
||||||
|
return back();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Credit card payment page.
|
* Credit card payment page.
|
||||||
*
|
*
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
@extends('portal.ninja2020.layout.payments', ['gateway_title' => ctrans('texts.paypal'), 'card_title' => ctrans('texts.paypal')])
|
||||||
|
|
||||||
|
@section('gateway_content')
|
||||||
|
@component('portal.ninja2020.components.general.card-element-single', ['title' => ctrans('texts.paypal'), 'show_title' => false])
|
||||||
|
{{ __('texts.payment_method_cannot_be_authorized_first') }}
|
||||||
|
@endcomponent
|
||||||
|
@endsection
|
Loading…
x
Reference in New Issue
Block a user