/home/kueuepay/public_html/resources/views/admin/sections/card-method-gateway/edit.blade.php
@extends('admin.layouts.master')

@push('css')

@endpush

@section('page-title')
    @include('admin.components.page-title',['title' => __($page_title)])
@endsection

@section('breadcrumb')
    @include('admin.components.breadcrumb',['breadcrumbs' => [
        [
            'name'  => __("Dashboard"),
            'url'   => setRoute("admin.dashboard"),
        ]
    ], 'active' => __($page_title)])
@endsection

@section('content')
    <div class="custom-card">
        <div class="card-header">
            <h6 class="title">{{ __($page_title) }}</h6>
        </div>
        <div class="card-body">
            <form class="card-form" action="{{ setRoute('admin.card.method.gateway.update',$data->slug) }}" method="POST" enctype="multipart/form-data">
                @csrf
                @method("PUT")
                <div class="row mb-10-none">
                    <div class="col-xl-12 col-lg-12 form-group">
                        <label for="card-image">{{ __("Image") }}</label>
                        <div class="col-12 col-sm-6 m-auto">
                            @include('admin.components.form.input-file',[
                                'label'             => false,
                                'class'             => "file-holder m-auto",
                                'old_files_path'    => files_asset_path('card-method-gateway'),
                                'name'              => "image",
                                'old_files'         => old('image',@$data->image)
                            ])
                        </div>
                    </div>
                    
                        <div class="col-xl-8 col-lg-8 form-group">
                            <label>{{ __("Name") }}*</label>
                            <div class="input-group append">
                                <span class="input-group-text"><i class="las la-file-signature"></i></span>
                                <input type="hidden" class="form--control" name="slug" value="{{ @$data->slug }}">
                                <input type="text" class="form--control" readonly name="name" value="{{ @$data->name }}">
                            </div>
                        </div>
                        
                        <div class="col-xl-12 col-lg-12 form-group">
                            <div class="row" >
                                <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 form-group">
                                    <label>{{ __("Publishable Key") }}*</label>
                                    <div class="input-group append">
                                        <span class="input-group-text"><i class="las la-key"></i></span>
                                        <input type="text" class="form--control" name="publishable_key" value="{{ @$data->credentials->publishable_key }}">
                                    </div>
                                </div>
                                <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 form-group">
                                    <label>{{ __("Secret key") }}*</label>
                                    <div class="input-group append">
                                        <span class="input-group-text"><i class="las la-key"></i></span>
                                        <input type="text" class="form--control" name="secret_key" value="{{ @$data->credentials->secret_key }}">
                                    </div>
                                </div>
                                                                
                            </div>
                        </div>
                    
                    <div class="col-xl-12 col-lg-12 form-group">
                        @include('admin.components.button.form-btn',[
                            'class'         => "w-100 btn-loading",
                            'text'          => __("Update"),
                            'permission'    => "admin.card.method.gateway.update"
                        ])
                    </div>
                </div>
            </form>
        </div>
    </div>
@endsection
Save Card
top

Save Your Card for Quick and Easy Future Payments Online

Simplify your payment experience by securely saving your card on our platform. After your initial transaction, you can choose to store your card details safely for future use. This feature eliminates the need to re-enter your payment information each time, making checkouts faster while keeping your data secure with advanced encryption and robust security measures.

  • Navigate to the “Save Card” section.
  • Click on “Add Card.”
  • Choose your preferred setup method.
  • Your card is now saved for future payments.
img