@extends('layouts.app', ['title' => 'Checkout pages']) @section('content') @php($canManage = auth()->user()->can('payments.manage'))

Checkout pages

A shareable page where customers fill in their details and pay for one product.

@if ($canManage) New checkout page@endif
@unless ($hasGateway)
No payment gateway is connected, so checkout pages cannot take money yet. Connect Razorpay or Stripe.
@endunless
@if ($pages->isEmpty())
No checkout pages yet.
@else
@foreach ($pages as $page) @endforeach
PageProductPaid ordersRevenueStatus
{{ $page->name }}
{{ $page->publicUrl() }}
{{ $page->product?->name }}
{{ $page->product?->priceLabel() }}
{{ $page->paid_count }} {{ money_format_short((float) $page->revenue, $currentAccount->currency) }} {{ $page->is_published ? 'Live' : 'Draft' }} @if ($canManage)@endif
@endif
@endsection