@extends('layouts.seller') @section('title', 'Checkout - Promotion') @section('content')
Select Payment Method
@csrf @php $gateways = [ 'razorpay' => \App\Models\PromotionSetting::get('razorpay_enabled', false), 'paypal' => \App\Models\PromotionSetting::get('paypal_enabled', false), 'manual' => \App\Models\PromotionSetting::get('manual_payment_enabled', false), ]; @endphp {{-- Razorpay for INR only --}} @if($gateways['razorpay'] && $transaction->currency == 'INR')
@endif {{-- PayPal for USD only --}} @if($gateways['paypal'] && $transaction->currency == 'USD')
@endif {{-- Manual Payment --}} @if($gateways['manual'])
Bank Details / भुगतान निर्देश:

{{ \App\Models\PromotionSetting::get('manual_payment_instructions') }}

@endif
Back
Order Summary
{{ $package->name }}

{{ $package->description }}

Promoting Products:
    @foreach($products as $product)
  • {{ Str::limit($product->name, 30) }}
  • @endforeach
Package Price: {{ $transaction->currency == 'INR' ? '₹' : '$' }}{{ number_format($baseAmount, 2) }}
@if($platformCommission > 0)
Platform Fee ({{ $commissionPercentage }}%): {{ $transaction->currency == 'INR' ? '₹' : '$' }}{{ number_format($platformCommission, 2) }}
@endif @if($gstAmount > 0)
GST ({{ $gstPercentage }}%): {{ $transaction->currency == 'INR' ? '₹' : '$' }}{{ number_format($gstAmount, 2) }}
@endif
Total:
{{ $transaction->currency == 'INR' ? '₹' : '$' }}{{ number_format($totalAmount, 2) }}
@include('seller.promotions.partials.razorpay-script', ['transaction' => $transaction, 'totalAmount' => $totalAmount]) @endsection