PATH:
home
/
rwabteecom
/
public_html
/
storage
/
framework
/
views
/
Editing: 6284e5bb6f035128dc3a9cb77b42e504.php
<?php $__env->startSection('section'); ?> <div class="card w-100"> <div class="card-body d-flex"> <?php echo $__env->make('settings.setting_menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <div class="w-100"> <div class="card-header px-0"> <div class="d-flex align-items-center justify-content-center"> <h3 class="m-0"><?php echo e(__('messages.payment_method')); ?> </h3> </div> </div> <div class="card-body border-top p-3"> <?php echo e(Form::open(['route' => ['payment.method.update'], 'method' => 'post', 'id' => 'SuperAdminCredentialsSettings'])); ?> <div class=""> <div class="form-group mb-5 mt-10"> <label class="form-check form-switch form-check-custom "> <input class="form-check-input" type="checkbox" value="<?php echo e(\App\Models\Plan::STRIPE); ?>" name="payment_gateway[<?php echo e(\App\Models\Plan::STRIPE); ?>]" <?php echo e(isset($selectedPaymentGateways['Stripe']) ? 'checked' : ''); ?> id="stripe_payment"> <span class="form-check-label fw-bold" for="flexSwitchCheckDefault"><?php echo e(__('messages.setting.stripe')); ?></span> </label> </div> <div class="col-lg-10 row stripe-cred <?php echo e(!isset($selectedPaymentGateways['Stripe']) ? 'd-none' : ''); ?>"> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('stripe_key', __('messages.setting.stripe_key') . ':', ['class' => 'form-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['stripe_key']) ?? null ? 'password' : 'text', 'stripe_key', $setting['stripe_key'] ?? null, ['class' => 'form-control stripe-key ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.stripe_key'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('stripe_secret', __('messages.setting.stripe_secret') . ':', ['class' => 'form-label stripe-secret-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['stripe_secret']) ?? null ? 'password' : 'text', 'stripe_secret', $setting['stripe_secret'] ?? null, ['class' => 'form-control stripe-secret ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.stripe_secret'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> </div> </div> <div class=""> <div class="form-group mb-5 mt-10"> <label class="form-check form-switch form-check-custom "> <input class="form-check-input" type="checkbox" value="<?php echo e(\App\Models\Plan::PAYPAL); ?>" name="payment_gateway[<?php echo e(\App\Models\Plan::PAYPAL); ?>]" id="paypal_payment" <?php echo e(isset($selectedPaymentGateways['Paypal']) ? 'checked' : ''); ?>> <span class="form-check-label fw-bold" for="flexSwitchCheckDefault"><?php echo e(__('messages.setting.paypal')); ?></span> </label> </div> <div class="col-lg-10 row paypal-cred <?php echo e(!isset($selectedPaymentGateways['Paypal']) ? 'd-none' : ''); ?>"> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('paypal_client_id', __('messages.setting.paypal_client_id') . ':', ['class' => 'form-label paypal-client-id-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['paypal_client_id']) ?? null ? 'password' : 'text', 'paypal_client_id', $setting['paypal_client_id'] ?? null, ['class' => 'form-control paypal-client-id ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.paypal_client_id'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('paypal_secret', __('messages.setting.paypal_secret') . ':', ['class' => 'form-label paypal-secret-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['paypal_secret']) ?? null ? 'password' : 'text', 'paypal_secret', $setting['paypal_secret'] ?? null, ['class' => 'form-control paypal-secret ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.paypal_secret'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-4 mb-5"> <?php echo e(Form::label('paypal_mode', __('messages.setting.paypal_mode') . ':', ['class' => 'form-label paypal-secret-label mb-3 required'])); ?> <?php echo e(Form::select('paypal_mode', $paypalMode, $setting['paypal_mode'], ['class' => 'form-control paypal-secret ', 'data-control' => 'select2', 'data-minimum-results-for-search' => 'Infinity'])); ?> </div> </div> </div> <div class=""> <div class="form-group mb-5 mt-10"> <label class="form-check form-switch form-check-custom "> <input class="form-check-input" type="checkbox" value="<?php echo e(\App\Models\Plan::RAZORPAY); ?>" name="payment_gateway[<?php echo e(\App\Models\Plan::RAZORPAY); ?>]" id="razorpay_payment" <?php echo e(isset($selectedPaymentGateways['Razorpay']) ? 'checked' : ''); ?>> <span class="form-check-label fw-bold" for="razorpay"><?php echo e(__('messages.setting.razorpay')); ?></span> </label> </div> <div class="col-lg-10 row razorpay-cred <?php echo e(!isset($selectedPaymentGateways['Razorpay']) ? 'd-none' : ''); ?>"> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('razorpay_key', __('messages.setting.razorpay_key') . ':', ['class' => 'form-label razorpay-key-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['razorpay_key']) ?? null ? 'password' : 'text', 'razorpay_key', $setting['razorpay_key'] ?? null, ['class' => 'form-control razorpay-key ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.razorpay_key'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('razorpay_secret', __('messages.setting.razorpay_secret') . ':', ['class' => 'form-label razorpay-secret-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['razorpay_secret']) ?? null ? 'password' : 'text', 'razorpay_secret', $setting['razorpay_secret'] ?? null, ['class' => 'form-control razorpay-secret ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.razorpay_secret'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> </div> </div> <div class=""> <div class="form-group mb-5 mt-10"> <label class="form-check form-switch form-check-custom "> <input class="form-check-input" type="checkbox" value="<?php echo e(\App\Models\Plan::FLUTTERWAVE); ?>" name="payment_gateway[<?php echo e(\App\Models\Plan::FLUTTERWAVE); ?>]" id="flutterwave_payment" <?php echo e(isset($selectedPaymentGateways['Flutterwave']) ? 'checked' : ''); ?>> <span class="form-check-label fw-bold" for="flutterwave"><?php echo e(__('messages.setting.flutterwave')); ?></span> </label> </div> <div class="col-lg-10 row flutterwave-cred <?php echo e(!isset($selectedPaymentGateways['Flutterwave']) ? 'd-none' : ''); ?>"> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('flutterwave_key', __('messages.setting.flutterwave_key') . ':', ['class' => 'form-label razorpay-key-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['flutterwave_key']) ?? null ? 'password' : 'text', 'flutterwave_key', $setting['flutterwave_key'] ?? null, ['class' => 'form-control flutterwave-key ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.flutterwave_key'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('flutterwave_secret', __('messages.setting.flutterwave_secret') . ':', ['class' => 'form-label razorpay-secret-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['flutterwave_secret']) ?? null ? 'password' : 'text', 'flutterwave_secret', $setting['flutterwave_secret'] ?? null, ['class' => 'form-control flutterwave-secret ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.flutterwave_secret'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> </div> </div> <div class=""> <div class="form-group mb-5 mt-10"> <label class="form-check form-switch form-check-custom"> <input class="form-check-input" type="checkbox" value="<?php echo e(\App\Models\Plan::PAYSTACK); ?>" name="payment_gateway[<?php echo e(\App\Models\Plan::PAYSTACK); ?>]" <?php echo e(isset($selectedPaymentGateways['Paystack']) ? 'checked' : ''); ?> id="paystack_payment"> <span class="form-check-label fw-bold" for="manually_payment"><?php echo e(__('messages.setting.paystack')); ?></span> </label> </div> <div class="col-lg-10 row paystack-cred <?php echo e(!isset($selectedPaymentGateways['Paystack']) ? 'd-none' : ''); ?>"> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('paystack_key', __('messages.setting.paystack_key') . ':', ['class' => 'form-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['paystack_key']) ?? null ? 'password' : 'text', 'paystack_key', $setting['paystack_key'] ?? null, ['class' => 'form-control paystack-key ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.paystack_key'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('paystack_secret', __('messages.setting.paystack_secret') . ':', ['class' => 'form-label stripe-secret-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['paystack_secret']) ?? null ? 'password' : 'text', 'paystack_secret', $setting['paystack_secret'] ?? null, ['class' => 'form-control paystack-secret ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.paystack_secret'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> </div> </div> <div class=""> <div class="form-group mb-5 mt-10"> <label class="form-check form-switch form-check-custom"> <input class="form-check-input" type="checkbox" value="<?php echo e(\App\Models\Plan::PHONEPE); ?>" name="payment_gateway[<?php echo e(\App\Models\Plan::PHONEPE); ?>]" <?php echo e(isset($selectedPaymentGateways['PhonePe']) ? 'checked' : ''); ?> id="phonepe_payment"> <span class="form-check-label fw-bold" for="phonepe_payment"><?php echo e(__('messages.setting.phonepe')); ?></span> </label> </div> <div class="col-lg-10 row phonepe-cred <?php echo e(!isset($selectedPaymentGateways['PhonePe']) ? 'd-none' : ''); ?>"> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('phonepe_merchant_id', __('messages.setting.phonepe_merchant_id') . ':', ['class' => 'form-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['phonepe_merchant_id']) ?? null ? 'password' : 'text', 'phonepe_merchant_id', $setting['phonepe_merchant_id'], ['class' => 'form-control phonepe_merchant_id ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.phonepe_merchant_id'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('phonepe_merchant_user_id', __('messages.setting.phonepe_merchant_user_id') . ':', ['class' => 'form-label stripe-secret-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['phonepe_merchant_user_id']) ?? null ? 'password' : 'text', 'phonepe_merchant_user_id', $setting['phonepe_merchant_user_id'], ['class' => 'form-control phonepe_merchant_user_id ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.phonepe_merchant_user_id'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('phonepe_env', __('messages.setting.phonepe_env') . ':', ['class' => 'form-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['phonepe_env']) ?? null ? 'password' : 'text', 'phonepe_env', $setting['phonepe_env'], ['class' => 'form-control phonepe_env ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.phonepe_env'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('phonepe_salt_key', __('messages.setting.phonepe_salt_key') . ':', ['class' => 'form-label stripe-secret-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['phonepe_salt_key']) ?? null ? 'password' : 'text', 'phonepe_salt_key', $setting['phonepe_salt_key'], ['class' => 'form-control phonepe_salt_key ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.phonepe_salt_key'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('phonepe_salt_index', __('messages.setting.phonepe_salt_index') . ':', ['class' => 'form-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['phonepe_salt_index']) ?? null ? 'password' : 'text', 'phonepe_salt_index', $setting['phonepe_salt_index'], ['class' => 'form-control phonepe_salt_index ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.phonepe_salt_index'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> </div> </div> <div class="form-group mb-5 mt-10"> <label class="form-check form-switch form-check-custom "> <input class="form-check-input" type="checkbox" value="<?php echo e(\App\Models\Plan::IYZICO); ?>" name="payment_gateway[<?php echo e(\App\Models\Plan::IYZICO); ?>]" <?php echo e(isset($selectedPaymentGateways['Iyzico']) ? 'checked' : ''); ?> id="iyzico_payment"> <span class="form-check-label fw-bold" for="flexSwitchCheckDefault"><?php echo e(__('messages.setting.iyzico')); ?></span> </label> </div> <div class="col-lg-10 row iyzico-cred <?php echo e(!isset($selectedPaymentGateways['Iyzico']) ? 'd-none' : ''); ?>"> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('iyzico_key', __('messages.setting.iyzico_key') . ':', ['class' => 'form-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['iyzico_key']) ?? null ? 'password' : 'text', 'iyzico_key', $setting['iyzico_key'] ?? null, ['class' => 'form-control iyzico-key ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.iyzico_key'), 'data-toggle' => 'password', 'required'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('iyzico_secret',__('messages.setting.iyzico_secret') . ':', ['class' => 'form-label iyzico-secret-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['iyzico_secret']) ?? null ? 'password' : 'text', 'iyzico_secret', $setting['iyzico_secret'] ?? null, ['class' => 'form-control iyzico-secret ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.iyzico_secret'), 'data-toggle' => 'password', 'required'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-4 mb-5"> <?php echo e(Form::label('iyzico_mode', __('messages.setting.iyzico_mode') . ':', ['class' => 'form-label iyzico-secret-label mb-3 required'])); ?> <?php echo e(Form::select('iyzico_mode', $iyzicoMode, $setting['iyzico_mode'] ?? null, ['class' => 'form-control iyzico-secret ', 'data-control' => 'select2', 'data-minimum-results-for-search' => 'Infinity'])); ?> </div> </div> <div class=""> <div class="form-group mb-5 mt-10"> <label class="form-check form-switch form-check-custom "> <input class="form-check-input" type="checkbox" value="<?php echo e(\App\Models\Plan::PAYFAST); ?>" name="payment_gateway[<?php echo e(\App\Models\Plan::PAYFAST); ?>]" id="payfast_payment" <?php echo e(isset($selectedPaymentGateways['Payfast']) ? 'checked' : ''); ?>> <span class="form-check-label fw-bold" for="flexSwitchCheckDefault"><?php echo e(__('messages.setting.payfast')); ?></span> </label> </div> <div class="col-lg-10 row payfast-cred <?php echo e(!isset($selectedPaymentGateways['Payfast']) ? 'd-none' : ''); ?>"> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('payfast_merchant_id', __('messages.setting.payfast_merchant_id') . ':', ['class' => 'form-label payfast-client-id-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['payfast_merchant_id']) ?? null ? 'password' : 'text', 'payfast_merchant_id', $setting['payfast_merchant_id'] ?? null, ['class' => 'form-control ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.payfast_merchant_id'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('payfast_merchant_key', __('messages.setting.payfast_merchant_key') . ':', ['class' => 'form-label payfast-secret-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['payfast_merchant_key']) ?? null ? 'password' : 'text', 'payfast_merchant_key', $setting['payfast_merchant_key'] ?? null, ['class' => 'form-control ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.payfast_merchant_key'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('payfast_passphrase_key', __('messages.setting.passphrase_key') . ':', ['class' => 'form-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['payfast_passphrase_key']) ?? null ? 'password' : 'text', 'payfast_passphrase_key', $setting['payfast_passphrase_key'] ?? null, ['class' => 'form-control ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.passphrase_key'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-4 mb-5"> <?php echo e(Form::label('payfast_mode', __('messages.setting.payfast_mode') . ':', ['class' => 'form-label mb-3 required'])); ?> <?php echo e(Form::select('payfast_mode', $payfastMode, $setting['payfast_mode'] ?? null, ['class' => 'form-control ', 'data-control' => 'select2', 'data-minimum-results-for-search' => 'Infinity'])); ?> </div> </div> </div> <?php if(moduleExists('MercadoPago')): ?> <div class=""> <div class="form-group mb-5 mt-10"> <label class="form-check form-switch form-check-custom "> <input class="form-check-input" type="checkbox" value="<?php echo e(\App\Models\Plan::MERCADO_PAGO); ?>" name="payment_gateway[<?php echo e(\App\Models\Plan::MERCADO_PAGO); ?>]" <?php echo e(isset($selectedPaymentGateways['Mercadopago']) ? 'checked' : ''); ?> id="mercado_pago_payment"> <span class="form-check-label fw-bold" for="flexSwitchCheckDefault"><?php echo e(__('messages.setting.mercado_pago')); ?></span> </label> </div> <div class="col-lg-10 row mercado-pago <?php echo e(!isset($selectedPaymentGateways['Mercadopago']) ? 'd-none' : ''); ?>"> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('mp_public_key', __('messages.setting.mp_public_key') . ':', ['class' => 'form-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['mp_public_key']) ?? null ? 'password' : 'text', 'mp_public_key', $setting['mp_public_key'] ?? '', ['class' => 'form-control mp_public_key ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.mp_public_key'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div class="form-group col-lg-6 mb-5"> <?php echo e(Form::label('mp_access_token', __('messages.setting.mp_access_token') . ':', ['class' => 'form-label mb-3 required'])); ?> <div class="position-relative"> <?php echo e(Form::input(isset($setting['mp_access_token']) ?? null ? 'password' : 'text', 'mp_access_token', $setting['mp_access_token'] ?? '', ['class' => 'form-control mp_access_token ' . (getLogInUser()->language == 'ar' ? 'payment-input-left' : 'payment-input-right'), 'placeholder' => __('messages.setting.mp_access_token'), 'data-toggle' => 'password'])); ?> <span class="position-absolute d-flex align-items-center top-0 bottom-0 payment-eye-icon <?php if(getLogInUser()->language == 'ar'): ?> start-0 pe-3 <?php else: ?> end-0 pe-3 ps-3 <?php endif; ?> input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> </div> </div> <?php endif; ?> <div class=""> <div class="form-group mb-5 mt-10"> <label class="form-check form-switch form-check-custom"> <input class="form-check-input" type="checkbox" value="<?php echo e(\App\Models\Plan::MANUALLY); ?>" name="payment_gateway[<?php echo e(\App\Models\Plan::MANUALLY); ?>]" <?php echo e(isset($selectedPaymentGateways['Manually']) ? 'checked' : ''); ?> id="manually_payment"> <span class="form-check-label fw-bold" for="manually_payment"><?php echo e(__('messages.setting.manually')); ?></span> </label> </div> <div class="col-lg-10 row manually-cred<?php echo e(!isset($selectedPaymentGateways['Manually']) ? ' d-none' : ''); ?>"> <?php echo e(Form::hidden('manual_payment_guide', $setting['manual_payment_guide'], ['id' => 'manualPaymentGuideData'])); ?> <?php echo e(Form::hidden('is_manual_payment_guide_on', $setting['is_manual_payment_guide_on'], ['id' => 'isManualPaymentGuideOnData'])); ?> <div class="col-lg-12"> <div class="mb-5"> <?php echo e(Form::label('manual_payment_guide', __('messages.vcard.manual_payment_guide') . ':', ['class' => 'form-label'])); ?> <div id="manualPaymentGuideId" class="editor-height" style="height: 200px"></div> <?php echo e(Form::hidden('manual_payment_guide', null, ['id' => 'guideData'])); ?> </div> </div> </div> </div> </div> <div> <?php echo e(Form::submit(__('messages.common.save'), ['class' => 'btn btn-primary me-3', 'data-turbo' => 'false'])); ?> </div> <?php echo e(Form::close()); ?> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('settings.edit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/rwabteecom/public_html/resources/views/settings/payment_method.blade.php ENDPATH**/ ?>
SAVE
CANCEL