@extends('layouts.core.backend') @section('title', trans('cashier::messages.paypal')) @section('page_header')

{{ trans('cashier::messages.paypal') }}

@endsection @section('content')

{!! trans('cashier::messages.paypal.intro') !!}

{{ trans('cashier::messages.payment.options') }}

{{ csrf_field() }}
@include('helpers.form_control', [ 'type' => 'select', 'name' => 'environment', 'value' => $gateway->environment, 'label' => trans('cashier::messages.paypal.environment'), 'help_class' => 'payment', 'options' => [['text' => 'Sandbox', 'value' => 'sandbox'],['text' => 'Production', 'value' => 'production']], 'rules' => ['environment' => 'required'], ]) @include('helpers.form_control', [ 'type' => 'text', 'class' => '', 'name' => 'client_id', 'value' => $gateway->clientId, 'label' => trans('cashier::messages.paypal.client_id'), 'help_class' => 'payment', 'rules' => ['client_id' => 'required'], ]) @include('helpers.form_control', [ 'type' => 'text', 'class' => '', 'name' => 'secret', 'value' => $gateway->secret, 'label' => trans('cashier::messages.paypal.secret'), 'help_class' => 'payment', 'rules' => ['secret' => 'required'], ])

@if ($gateway->isActive()) @if (!\Acelle\Library\Facades\Billing::isGatewayEnabled($gateway)) @else @endif @else @endif {{ trans('messages.cancel') }}
@endsection