diff --git a/resources/views/portal/ninja2020/gateways/square/credit_card/authorize.blade.php b/resources/views/portal/ninja2020/gateways/square/credit_card/authorize.blade.php index 0c5eaf2a284a..71276af89889 100644 --- a/resources/views/portal/ninja2020/gateways/square/credit_card/authorize.blade.php +++ b/resources/views/portal/ninja2020/gateways/square/credit_card/authorize.blade.php @@ -2,6 +2,8 @@ => ctrans('texts.payment_type_credit_card')]) @section('gateway_head') + + @endsection @section('gateway_content') @@ -9,161 +11,69 @@ method="post" id="server_response"> @csrf - - + + + @component('portal.ninja2020.components.general.card-element-single') -
- -
- - +
+
@endcomponent - @component('portal.ninja2020.gateways.includes.pay_now') + @component('portal.ninja2020.gateways.includes.pay_now', ['id' => 'authorize-card']) {{ ctrans('texts.add_payment_method') }} @endcomponent @endsection @section('gateway_footer') + @if ($gateway->company_gateway->getConfigField('testMode')) + + @else + + @endif - @if($gateway->company_gateway->getConfigField('testMode')) - - @else - - @endif + - - @endsection \ No newline at end of file + new SquareCreditCard().handle(); + +@endsection