@extends('layouts.business') @section('title', 'Payment Successful') @section('content')

Payment Successful!

Your subscription has been activated successfully.

Payment ID

{{ $payment->id }}

Amount Paid

AED {{ number_format($payment->amount, 2) }}


Payment Method

@if($payment->payment_method === 'stripe') Stripe @elseif($payment->payment_method === 'paypal') PayPal @else {{ ucfirst($payment->payment_method) }} @endif

Transaction ID

{{ substr($payment->transaction_id, 0, 20) }}...


Status

{{ ucfirst($payment->status) }}

Date

{{ $payment->created_at->format('M d, Y H:i') }}

@if($payment->subscription)
Subscription Activated

Plan

{{ $payment->subscription->plan->name ?? 'N/A' }}

Status

Active


Start Date

{{ $payment->subscription->start_date->format('M d, Y') }}

End Date

{{ $payment->subscription->end_date->format('M d, Y') }}


Billing Cycle

{{ $payment->subscription->auto_renew ? 'Auto-Renewing Monthly' : 'One-Time Payment' }}

@endif
Next Steps: Your subscription is now active. You can start using all features immediately. @if($payment->subscription?->auto_renew && $payment->subscription?->next_billing_date) Your subscription will automatically renew on {{ $payment->subscription->next_billing_date->format('M d, Y') }}. @endif
Need Help?

If you have any questions about your subscription, please contact our support team.

Contact Support
@endsection