/home/kueuepay/public_html/storage/framework/views/2e33ab52b32599fa3dcfb9367a3e35a36c4e7613.php

<?php $__env->startSection('breadcrumb'); ?>
    <?php echo $__env->make('user.components.breadcrumb',['breadcrumbs' => [
        [
            'name'  => __("Dashboard"),
            'url'   => setRoute("user.dashboard"),
        ]
    ], 'active' => __($page_title)], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<div class="body-wrapper">
    <div class="row justify-content-center mb-20-none">
        <div class="col-xl-6 col-lg-6 mb-20">
            <div class="custom-card mt-10">
                <div class="card-body">
                    <form class="card-form" action="<?php echo e(route('user.merchant.details.update',auth()->user()->id)); ?>" method="POST" enctype="multipart/form-data">
                        <?php echo csrf_field(); ?>
                        <div class="row">
                            <div class="col-xl-12 col-lg-12 form-group">
                                <label for="card-image"><?php echo e(__("Image")); ?>*</label>
                                <div class="col-12 col-sm-6 m-auto">
                                    <?php echo $__env->make('admin.components.form.input-file',[
                                        'label'             => false,
                                        'class'             => "file-holder m-auto",
                                        'old_files_path'    => files_asset_path('merchant-details'),
                                        'name'              => "image",
                                        'value'             => @$user->merchant_details->image,
                                        'old_files'         => old('image',@$user->merchant_details->image)
                                    ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                </div>
                            </div>
                            <div class="col-xl-12 col-lg-12 form-group">
                                <?php echo $__env->make('admin.components.form.input',[
                                    'label'         => __("Merchant Name")."<span>*</span>",
                                    'name'          => "merchant_name",
                                    'placeholder'   => __("Enter Name")."...",
                                    'value'         => old('merchant_name',@$user->merchant_details->merchant_name)
                                ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    
                            </div>
                        </div>
                        <div class="col-xl-12 col-lg-12">
                            <button type="submit" class="btn--base w-100"><span class="w-100"><?php echo e(__("Update")); ?></span></button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div class="col-xl-6 col-lg-6">
            <div class="api-key">
                <div class="custom-card mt-10">
                    <div class="card-body">
                        <h4 class="title text-center"><?php echo e(__("API Keys")); ?></h4>
                        <span class="sub-title copytext-wrapper"><?php echo e(__("Client ID")); ?> : <span class="text--warning text-break">
                                ****<?php echo e(substr(@$user->merchant_api_keys->client_id, -25)); ?></span><input type="hidden" id="clientID" value="<?php echo e(@$user->merchant_api_keys->client_id); ?>"><span class="copytext" id="copyClient"><span class="copytext" id="copyClient"><i class="las la-copy"></i></span></span>
                        </span>
                        <span class="sub-title copytext-wrapper"><?php echo e(__("Secret ID")); ?> : <span class="text--warning text-break">
                                ****<?php echo e(substr(@$user->merchant_api_keys->secret_id, -25)); ?></span><input type="hidden" id="secretID" value="<?php echo e(@$user->merchant_api_keys->secret_id); ?>"><span class="copytext" id="copySecret"><i
                                    class="las la-copy"></i></span>
                        </span>
                        <?php if(isset($user->merchant_details)): ?>
                        <span class="sub-title copytext-wrapper"><?php echo e(__("Merchant ID")); ?> : <span class="text--warning text-break" id="merchantID">
                            <?php echo e(@$user->merchant_details->merchant_id); ?></span><span class="copytext" id="copyID"><i class="las la-copy"></i></span></span>
                        <?php endif; ?>
                        <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 form-group">
                            <div class="toggle-container">
                                <?php echo $__env->make('admin.components.form.switcher',[
                                    'label'         => __('Environment'),   
                                    'name'          => "env",
                                    'value'         => old('env',@$user->merchant_api_keys->env),
                                    'options'       => [__('PRODUCTION') => payment_gateway_const()::ENV_PRODUCTION , __('SANDBOX') => payment_gateway_const()::ENV_SANDBOX],
                                    'onload'        => true,
                                    'data_target'   => @$user->merchant_api_keys->id,
                                ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-lg-8 mb-20">
            <div class="custom-card mt-10">
                <div class="card-body">
                    <h4 class="title mb-20"><?php echo e(__("We are using here stripe payment gateway for receiving payment. So configure your stripe account.")); ?>

                    </h4>
                    <form class="card-form" action="<?php echo e(route('user.merchant.details.payment.configuration.update',auth()->user()->id)); ?>" method="POST" enctype="multipart/form-data">
                        <?php echo csrf_field(); ?>
                        <div class="row">
                            <div class="col-xl-12 col-lg-12 form-group">
                                <?php echo $__env->make('admin.components.form.input',[
                                    'label'         => __("Stripe Secret Key")."<span>*</span>",
                                    'name'          => "secret_key",
                                    'placeholder'   => __("Enter Stripe Secret Key")."...",
                                    'value'         => old('secret_key',@$user->merchant_details->payment_gateway->stripe_secret_key)
                                ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>    
                            </div>
                        </div>
                        <div class="col-xl-12 col-lg-12">
                            <button type="submit" class="btn--base w-100"><span class="w-100"><?php echo e(__("Update")); ?></span></button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('script'); ?>
<script>
    $('#copyClient').on('click',function(){
        var copyText = document.getElementById("clientID");
        var tempInput = document.createElement("input");
        tempInput.value = copyText.value;
        document.body.appendChild(tempInput);
        tempInput.select();
        document.execCommand("copy");
        document.body.removeChild(tempInput);
        console.log(copyText.value);
        throwMessage('success', ["Copied Client ID: " + copyText.value]);
    });
    $('#copySecret').on('click',function(){
        var copyText = document.getElementById("secretID");
        var tempInput = document.createElement("input");
        tempInput.value = copyText.value;
        document.body.appendChild(tempInput);
        tempInput.select();
        document.execCommand("copy");
        document.body.removeChild(tempInput);
        throwMessage('success', ["Copied Secret ID: " + copyText.value]);
    });
    $('#copyID').on('click',function(){
        var copyText = document.getElementById("merchantID").innerText;
        navigator.clipboard.writeText(copyText).then(function() {
            throwMessage('success', ["Copied Merchant ID: " + copyText]);
        }, function(err) {
            throwMessage('error', ["Failed to copy text"]);
        });
    });

   
</script>
<script>
    $(document).ready(function () {
        switcherAjax("<?php echo e(setRoute('user.merchant.details.api.keys.update')); ?>");
    });
</script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('user.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\xampp\htdocs\git\nfcpay\resources\views/user/sections/merchant-details/index.blade.php ENDPATH**/ ?>
Journal Details
top
blog

Enhancing Payment Security: The Role of Encryption and Tokenization in Digital Transactions

As digital transactions proliferate, ensuring robust payment security is more critical than ever. Two foundational technologies that are pivotal in this effort are encryption and tokenization.
Encryption is a process that transforms data into a secure format, known as ciphertext, which can only be deciphered using a specific decryption key. This means that even if data is intercepted during transmission, it remains unreadable and protected from unauthorized access. Encryption is essential in safeguarding sensitive payment information, such as credit card details and personal data, during online transactions.
Tokenization, on the other hand, involves substituting sensitive data with unique identifiers or "tokens." These tokens serve as placeholders and have no value outside of the specific transaction context. If intercepted, tokens are meaningless and cannot be used to access the original sensitive data. This method significantly reduces the risk of fraud and data breaches, as the actual payment information is not stored or transmitted.
Together, encryption and tokenization form a powerful security framework. Encryption ensures that data is protected during transmission, while tokenization minimizes the risk of exposing sensitive information by replacing it with secure, non-sensitive tokens.
These technologies are integral to modern payment platforms, providing a robust defense against cyber threats. By implementing advanced encryption and tokenization techniques, businesses can enhance the security of digital transactions, ensuring that users' financial and personal information remains safe. This comprehensive approach not only builds user trust but also fortifies the overall security infrastructure of digital payment systems. As cyber threats evolve, the continued advancement of encryption and tokenization will be crucial in maintaining secure and reliable payment processes.

Tags