@extends('layouts.front-end.app') @section('title',\App\CPU\translate('Choose Payment Method')) @push('css_or_js') {{--stripe--}} {{--stripe--}} @endpush @section('content')
{{ \App\CPU\translate('payment_method')}}
@include('web-views.partials._checkout-steps',['step'=>3])

{{\App\CPU\translate('choose_payment')}}

@if(!$cod_not_show && $cash_on_delivery['status'])
@endif @if ($digital_payment['status']==1) @if($wallet_status==1)
@endif @if(isset($offline_payment) && $offline_payment['status'])
@endif @if($ssl_commerz_payment['status'])
@endif @if($paypal['status'])
{{ csrf_field() }}
@endif @if($stripe['status'])
@endif @if(isset($inr) && isset($usd) && $razor_pay['status'])
@csrf
@endif @if($paystack['status'])
@csrf
{{-- required --}} {{-- required in kobo --}} {{-- For other necessary things you want to add to your payload. it is optional though --}} {{-- required --}}

@endif @if(isset($myr) && isset($usd) && $senang_pay['status'])
@php($user=auth('customer')->user()) @php($secretkey = $senang_pay['secret_key']) @php($data = new \stdClass()) @php($data->merchantId = $senang_pay['merchant_id']) @php($data->detail = 'payment') @php($data->order_id = session('cart_group_id')) @php($data->amount = \App\CPU\Convert::usdTomyr($amount)) @php($data->name = $user->f_name.' '.$user->l_name) @php($data->email = $user->email) @php($data->phone = $user->phone) @php($data->hashed_string = md5($secretkey . urldecode($data->detail) . urldecode($data->amount) . urldecode($data->order_id)))
@endif @if($paymob_accept['status'])
{{ csrf_field() }}
@endif @if(isset($bkash) && $bkash['status']) @endif @if(isset($paytabs) && $paytabs['status'])
@endif {{--@php($config=\App\CPU\Helpers::get_business_settings('fawry_pay')) @if(isset($config) && $config['status'])
@endif--}} @if(isset($mercadopago) && $mercadopago['status']) @endif @if(isset($flutterwave) && $flutterwave['status'])
{{ csrf_field() }}
@endif @if(isset($paytm) && $paytm['status']) @endif @if(isset($liqpay) && $liqpay['status']) @endif @endif
@include('web-views.partials._order-summary')
@endsection @push('script') @endpush