shell bypass 403
<div class="paymenterror alert alert-danger my-2 py-1 d-none"> <?php echo e(trans('messages.payment_selection_required')); ?></div>
<div class="row g-3 justify-content-between">
<?php
$i = 0;
?>
<?php $__currentLoopData = $getpaymentmethods; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $pmdata): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php
$transaction_type = $pmdata->payment_type;
$paymentname = $pmdata->payment_name;
// Check if the current $pmdata is a system addon and activated
if ($pmdata->payment_type == '1' || $pmdata->payment_type == '2') {
$systemAddonActivated = true;
} else {
$systemAddonActivated = false;
}
$addon = App\Models\SystemAddons::where('unique_identifier', $pmdata->unique_identifier)->first();
if ($addon != null && $addon->activated == 1) {
$systemAddonActivated = true;
}
?>
<?php if($systemAddonActivated): ?>
<label class="form-check-label col-md-6" for="payment<?php echo e($transaction_type); ?>">
<input class="form-check-input" type="radio" name="transaction_type" id="payment<?php echo e($transaction_type); ?>"
data-payment-type="<?php echo e($transaction_type); ?>" value="<?php echo e($transaction_type); ?>"
data-currency="<?php echo e($pmdata->currency); ?>" <?php echo e($i++ == 0 ? 'checked' : ''); ?>>
<div class="payment-gateway mb-0 justify-content-between">
<span class="color-changer"> <img src="<?php echo e(helper::image_path($pmdata->image)); ?>" alt="">
<?php echo e(ucfirst($paymentname)); ?>
</span>
<div class="d-flex gap-2">
<?php if($transaction_type == 2): ?>
<span class="text-end text-muted"><?php echo e(helper::currency_format(Auth::user()->wallet)); ?></span>
<?php endif; ?>
<?php if(in_array($transaction_type, [3, 4, 5, 6])): ?>
<?php if($transaction_type == 3): ?>
<input type="hidden" name="razorpaykey" id="razorpaykey"
value="<?php echo e($pmdata->public_key); ?>">
<?php endif; ?>
<?php if($transaction_type == 4): ?>
<input type="hidden" name="stripekey" id="stripekey"
value="<?php echo e($pmdata->public_key); ?>">
<?php endif; ?>
<?php if($transaction_type == 5): ?>
<input type="hidden" name="flutterwavekey" id="flutterwavekey"
value="<?php echo e($pmdata->public_key); ?>">
<?php endif; ?>
<?php if($transaction_type == 6): ?>
<input type="hidden" name="paystackkey" id="paystackkey"
value="<?php echo e($pmdata->public_key); ?>">
<?php endif; ?>
<?php endif; ?>
<?php if($transaction_type == '16'): ?>
<input type="hidden" value="<?php echo e($pmdata->payment_description); ?>" id="bank_payment">
<?php endif; ?>
<span class="check-icon"></span>
</div>
</div>
<?php if($transaction_type == 2): ?>
<small class="walleterror text-danger d-none"><?php echo e(trans('messages.insufficient_wallet')); ?></small>
<?php endif; ?>
</label>
<?php if($transaction_type == 4): ?>
<form action="" method="" id="payment-form" class="d-none">
<div class="my-3" id="card-element"></div>
</form>
<?php endif; ?>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
<?php /**PATH /www/wwwroot/koreanshop.lk/resources/views/web/paymentmethodsview.blade.php ENDPATH**/ ?>