<div class="row checkout-dialog">
    <div class="col-lg-6 mx-auto">
        
        <div class="paymentOption paymentPP d-none">
            <form id="pp-buyItem" method="post" action="<?php echo e(route('payment.initiatePayment')); ?>">
                <?php echo csrf_field(); ?>
                <input type="hidden" name="amount" id="payment-deposit-amount" value="">
                <input type="hidden" name="transaction_type" id="payment-type" value="">
                <input type="hidden" name="post_id" id="post" value="">
                <input type="hidden" name="user_message_id" id="userMessage" value="">
                <input type="hidden" name="recipient_user_id" id="recipient" value="">
                <input type="hidden" name="provider" id="provider" value="">
                <input type="hidden" name="first_name" id="paymentFirstName" value="">
                <input type="hidden" name="last_name" id="paymentLastName" value="">
                <input type="hidden" name="billing_address" id="paymentBillingAddress" value="">
                <input type="hidden" name="city" id="paymentCity" value="">
                <input type="hidden" name="state" id="paymentState" value="">
                <input type="hidden" name="postcode" id="paymentPostcode" value="">
                <input type="hidden" name="country" id="paymentCountry" value="">
                <input type="hidden" name="taxes" id="paymentTaxes" value="">
                <input type="hidden" name="stream" id="stream" value="">
                <button class="payment-button" type="submit"></button>
            </form>
        </div>

        <div class="paymentOption ml-2 paymentStripe d-none">
            <button id="stripe-checkout-button"><?php echo e(__('Checkout')); ?></button>
        </div>

        <!-- Modal -->
        <div class="checkout-popup modal fade" id="checkout-center" tabindex="-1" role="dialog" aria-labelledby="checkout" aria-hidden="true">
            <div class="modal-dialog modal-dialog-centered" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <h5 class="modal-title" id="payment-title"></h5>
                        <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo e(__('Close')); ?>">
                            <span aria-hidden="true">&times;</span>
                        </button>
                    </div>
                    <div class="modal-body">
                        <div class="payment-body">
                            <div class="d-flex flex-row">
                                <div class="ml-0 ml-md-2 mb-2">
                                    <img src="" class="rounded-circle user-avatar">
                                </div>
                                <div class="d-lg-block">
                                    <div class="pl-2 d-flex justify-content-center flex-column">
                                        <div class="ml-2 ">
                                            <div class="text-bold <?php echo e((Cookie::get('app_theme') == null ? (getSetting('site.default_user_theme') == 'dark' ? '' : 'text-dark-r') : (Cookie::get('app_theme') == 'dark' ? '' : 'text-dark-r'))); ?> name"></div>
                                            <div class="text-muted username"><span>@</span></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="payment-description mb-3 d-none"></div>
                            <div class="input-group mb-3 checkout-amount-input d-none">
                                <div class="input-group-prepend">
                            <span class="input-group-text" id="amount-label">
                                <?php echo $__env->make('elements.icon',['icon'=>'cash-outline','variant'=>'medium','centered'=>false], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                            </span>
                                </div>
                                <input class="form-control uifield-amount" placeholder="<?php echo e(__(\App\Providers\SettingsServiceProvider::leftAlignedCurrencyPosition() ? 'Amount ($5 min, $500 max)' : 'Amount (5$ min, 500$ max)',['min'=>getSetting('payments.min_tip_value'),'max'=>getSetting('payments.max_tip_value'),'currency'=>config('app.site.currency_symbol')])); ?>" aria-label="Username" aria-describedby="amount-label" id="checkout-amount" type="number" min="0" step="1" max="500" >
                                <div class="invalid-feedback"><?php echo e(__('Please enter a valid amount.')); ?></div>
                            </div>
                        </div>

                        <div id="accordion" class="mb-3">
                            <div class="card">
                                <div class="card-header d-flex justify-content-between" id="headingOne" data-toggle="collapse" data-target="#billingInformation" aria-expanded="true" aria-controls="billingInformation">
                                    <h6 class="mb-0">
                                        <?php echo e(__('Billing agreement details')); ?>

                                    </h6>
                                    <div class="ml-1 label-icon">
                                        <?php echo $__env->make('elements.icon',['icon'=>'chevron-down-outline','centered'=>false], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                    </div>
                                </div>
                                <div id="billingInformation" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
                                    <div class="card-body">
                                        <form id="billing-agreement-form">
                                            <div class="tab-content">
                                                <!-- credit card info-->
                                                <div id="individual" class="tab-pane fade show active pt-1">
                                                    <div class="row form-group">
                                                        <div class="col-sm-6 col-6">
                                                            <div class="form-group">
                                                                <label for="firstName">
                                                                    <span><?php echo e(__('First name')); ?></span>
                                                                </label>
                                                                <input type="text" name="firstName" placeholder="<?php echo e(__('First name')); ?>" onchange="checkout.validateFirstNameField();" required class="form-control uifield-first_name">
                                                            </div>

                                                        </div>
                                                        <div class="col-sm-6 col-6">
                                                            <div class="form-group">
                                                                <label for="lastName">
                                                                    <span><?php echo e(__('Last name')); ?></span>
                                                                </label>
                                                                <input type="text" name="lastName" placeholder="<?php echo e(__('Last name')); ?>" onblur="checkout.validateLastNameField()" required class="form-control uifield-last_name">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <label for="countrySelect">
                                                            <span><?php echo e(__('Country')); ?></span>
                                                        </label>
                                                        <select class="country-select form-control input-sm uifield-country" id="countrySelect" required onchange="checkout.validateCountryField()"></select>
                                                    </div>
                                                    <div class="form-group">
                                                        <label for="billingCity">
                                                            <span><?php echo e(__('City')); ?></span>
                                                        </label>
                                                        <input type="text" name="billingCity" placeholder="<?php echo e(__('City')); ?>" onblur="checkout.validateCityField()" required class="form-control uifield-city">
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-6 col-6">
                                                            <div class="form-group">
                                                                <label for="billingState">
                                                                    <span><?php echo e(__('State')); ?></span>
                                                                </label>
                                                                <input type="text" name="billingState" placeholder="<?php echo e(__('State')); ?>" onblur="checkout.validateStateField()" required class="form-control uifield-state">
                                                            </div>

                                                        </div>
                                                        <div class="col-sm-6 col-6">
                                                            <div class="form-group">
                                                                <label for="billingPostcode">
                                                                    <span><?php echo e(__('Postcode')); ?></span>
                                                                </label>
                                                                <input type="text" name="billingPostcode" placeholder="<?php echo e(__('Postcode')); ?>" onblur="checkout.validatePostcodeField()" required class="form-control uifield-postcode">
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <label for="cardNumber">
                                                            <span><?php echo e(__('Address')); ?></span>
                                                        </label>
                                                        <textarea rows="2" type="text" name="billingAddress" onblur="checkout.validateBillingAddressField()" placeholder="<?php echo e(__('Street address, apartment, suite, unit')); ?>" class="form-control w-100 uifield-billing_address" required></textarea>
                                                    </div>
                                                </div>
                                                <div class="billing-agreement-error error text-danger d-none"><?php echo e(__('Please complete all billing details')); ?></div>
                                            </div>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="mb-3">
                            <h6 class="font-weight-bolder"><?php echo e(__('Payment summary')); ?></h6>
                            <div class="subtotal row mb-1">
                                <span class="col-sm left "><?php echo e(__('Subtotal')); ?>:</span>
                                <span class="subtotal-amount col-sm right text-right">
                                        <b>$0.00</b>
                                    </span>
                            </div>
                            <div class="taxes row mb-1">
                                <span class="col-sm left "><?php echo e(__('Taxes')); ?></span>
                            </div>
                            <div class="taxes-details mb-1"></div>
                            <div class="total row">
                                <span class="col-sm left "><?php echo e(__('Total')); ?>:</span>
                                <span class="total-amount col-sm right text-right">
                                        <b>$0.00</b>
                                    </span>
                            </div>
                        </div>

                        <div>
                            <h6 class="font-weight-bolder d-flex align-items-center">
                                <?php echo e(__('Payment method')); ?>




                            </h6>
                            <div class="d-flex text-left radio-group row px-2 my-2">
                                <?php if(getSetting('payments.stripe_secret_key') && getSetting('payments.stripe_public_key') && !getSetting('payments.stripe_checkout_disabled')): ?>
                                    <div class="p-1 col-6 col-md-3 col-lg-3 col-md-3 stripe-payment-method" >
                                        <div class="radio mx-auto stripe-payment-provider checkout-payment-provider d-flex align-items-center justify-content-center my-0" data-value="stripe">
                                            <img src="<?php echo e(asset('/img/logos/stripe.svg')); ?>">
                                        </div>
                                    </div>
                                <?php endif; ?>
                                <?php if(config('paypal.client_id') && config('paypal.secret') && !getSetting('payments.paypal_checkout_disabled')): ?>
                                    <div class="p-1 col-6 col-md-3 col-lg-3 col-md-3 paypal-payment-method">
                                        <div class="radio mx-auto paypal-payment-provider checkout-payment-provider d-flex align-items-center justify-content-center my-0" data-value="paypal">
                                            <img src="<?php echo e(asset('/img/logos/paypal.svg')); ?>">
                                        </div>
                                    </div>
                                <?php endif; ?>
                                <?php if(getSetting('payments.coinbase_api_key') && !getSetting('payments.coinbase_checkout_disabled')): ?>
                                    <div class="p-1 col-6 col-md-3 col-lg-3 col-md-3 d-none coinbase-payment-method">
                                        <div class="radio mx-auto coinbase-payment-provider checkout-payment-provider d-flex align-items-center justify-content-center my-0" data-value="coinbase">
                                            <img src="<?php echo e(asset('/img/logos/coinbase.svg')); ?>">
                                        </div>
                                    </div>
                                <?php endif; ?>
                                <?php if(getSetting('payments.nowpayments_api_key') && !getSetting('payments.nowpayments_checkout_disabled')): ?>
                                    <div class="p-1 col-6 col-md-3 col-lg-3 col-md-3 d-none nowpayments-payment-method">
                                        <div class="radio mx-auto nowpayments-payment-provider checkout-payment-provider d-flex align-items-center justify-content-center my-0" data-value="nowpayments">
                                            <img src="<?php echo e(asset('/img/logos/nowpayments.svg')); ?>">
                                        </div>
                                    </div>
                                <?php endif; ?>
                                <?php if(\App\Providers\PaymentsServiceProvider::ccbillCredentialsProvided()): ?>
                                    <div class="p-1 col-6 col-md-3 col-lg-3 col-md-3 d-none ccbill-payment-method">
                                        <div class="radio mx-auto ccbill-payment-provider checkout-payment-provider d-flex align-items-center justify-content-center my-0" data-value="ccbill">
                                            <img src="<?php echo e(asset('/img/logos/ccbill.svg')); ?>">
                                        </div>
                                    </div>
                                <?php endif; ?>
                                <?php if(getSetting('payments.paystack_secret_key') && !getSetting('payments.paystack_checkout_disabled')): ?>
                                    <div class="p-1 col-6 col-md-3 col-lg-3 col-md-3 d-none paystack-payment-method">
                                        <div class="radio mx-auto paystack-payment-provider checkout-payment-provider d-flex align-items-center justify-content-center my-0" data-value="paystack">
                                            <img src="<?php echo e(asset('/img/logos/paystack.svg')); ?>">
                                        </div>
                                    </div>
                                <?php endif; ?>
                                <?php if(getSetting('payments.stripe_secret_key') && getSetting('payments.stripe_public_key') && !getSetting('payments.stripe_checkout_disabled') && getSetting('payments.stripe_oxxo_provider_enabled')): ?>
                                        <div class="p-1 col-6 col-md-3 col-lg-3 col-md-3 d-none oxxo-payment-method">
                                        <div class="radio mx-auto oxxo-payment-provider checkout-payment-provider d-flex align-items-center justify-content-center my-0" data-value="oxxo">
                                            <img src="<?php echo e(asset('/img/logos/oxxo.svg')); ?>">
                                        </div>
                                    </div>
                                <?php endif; ?>
                                <?php if(getSetting('payments.mercado_access_token') && !getSetting('payments.mercado_checkout_disabled')): ?>
                                    <div class="p-1 col-6 col-md-3 d-none mercado-payment-method">
                                        <div class="radio mx-auto mercado-payment-provider checkout-payment-provider d-flex align-items-center justify-content-center my-0" data-value="mercado">
                                            <img src="<?php echo e(asset('/img/logos/mercado.svg')); ?>">
                                        </div>
                                    </div>
                                <?php endif; ?>
                                <?php if(getSetting('payments.verotel_merchant_id') && getSetting('payments.verotel_shop_id') && getSetting('payments.verotel_signature_key') && !getSetting('payments.verotel_checkout_disabled')): ?>
                                    <div class="p-1 col-6 col-md-3 d-none verotel-payment-method">
                                        <div class="radio mx-auto verotel-payment-provider checkout-payment-provider d-flex align-items-center justify-content-center my-0" data-value="verotel">
                                            <img src="<?php echo e(asset('/img/logos/verotel.svg')); ?>">
                                        </div>
                                    </div>
                                <?php endif; ?>
                                <div class="credit-payment-method p-1 col-6 col-md-3 col-lg-3 col-md-3" <?php echo !Auth::check() || Auth::user()->wallet->total <= 0 ? 'data-toggle="tooltip" data-placement="right"' : ''; ?> title="<?php echo e(__('You can use the wallet deposit page to add credit.')); ?>">
                                    <div class="radio mx-auto credit-payment-provider checkout-payment-provider d-flex align-items-center justify-content-center my-0" data-value="credit">
                                        <div class="credit-provider-text">
                                            <b><?php echo e(__("Credit")); ?></b>
                                            <div class="available-credit">(<?php echo e(\App\Providers\SettingsServiceProvider::getWebsiteFormattedAmount('0')); ?>)</div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="payment-error error text-danger text-bold d-none mb-1"><?php echo e(__('Please select your payment method')); ?></div>
                        <p class="text-muted mt-1 small mb-0"> <?php echo e(__('After clicking the button, you’ll be taken to a secure payment page and then redirected back to the website once payment is complete.')); ?> </p>
                    </div>
                    <div class="modal-footer">

                        <button type="submit" class="btn btn-primary checkout-continue-btn"><?php echo e(__('Continue')); ?>

                            <div class="spinner-border spinner-border-sm ml-2 d-none" role="status">
                                <span class="sr-only"><?php echo e(__('Loading...')); ?></span>
                            </div>
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php /**PATH /home/ygnbmjdo/funmate/resources/views/elements/checkout/checkout-box.blade.php ENDPATH**/ ?>