PayPal authorize page message

This commit is contained in:
Benjamin Beganović 2021-05-04 17:25:30 +02:00
parent 0e905371c5
commit 78f87a8da0
2 changed files with 19 additions and 0 deletions

View File

@ -28,6 +28,18 @@ class PayPal
$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.
*

View File

@ -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