diff --git a/app/checkout/success/page.tsx b/app/checkout/success/page.tsx index b4f4eed..9bd388a 100644 --- a/app/checkout/success/page.tsx +++ b/app/checkout/success/page.tsx @@ -73,14 +73,14 @@ export default function CheckoutSuccessPage() { if (loading) { return ( -
+
-
-

Loading your order details...

+
+

Loading your order details...

); @@ -88,18 +88,18 @@ export default function CheckoutSuccessPage() { if (error || !orderDetails) { return ( -
+
⚠️
-

Order Not Found

-

{error || 'Unable to retrieve order details'}

+

Order Not Found

+

{error || 'Unable to retrieve order details'}

@@ -276,7 +276,7 @@ export default function CheckoutSuccessPage() { } `} -
+
{/* Receipt Container - Page 1 */} -
+
{/* Header with Logo */} Puffin Offset -
-
- - - -
-
-

+

Order Confirmed

-

+

Thank you for your carbon offset purchase

+ {/* Success Badge */} + +
+ + + +
+
+ {/* Order Details Section */} -

+

Order Summary

{/* Carbon Offset - Highlighted */} -
+
- Carbon Offset -

{order.tons} tons CO₂

+ Carbon Offset +

{order.tons} tons CO₂

-
+
{/* Pricing Breakdown */} -
+
- Offset Cost - + Offset Cost + ${formatCurrency(baseAmount)}
- Processing Fee (3%) - + Processing Fee (3%) + ${formatCurrency(processingFee)}
-
+
- Total Paid - + Total Paid + ${formatCurrency(totalAmount)}
@@ -363,24 +370,24 @@ export default function CheckoutSuccessPage() {
{/* Order Metadata */} -
+
{/* Payment ID (Stripe) */}
- Payment ID -

{order.stripeSessionId}

+ Payment ID +

{order.stripeSessionId}

{/* Offsetting Order ID (Wren) - Only show if fulfilled */} {order.wrenOrderId && (
- Offsetting Order ID -

{order.wrenOrderId}

+ Offsetting Order ID +

{order.wrenOrderId}

)}
- Status + Status

{statusDisplay.label} @@ -390,14 +397,14 @@ export default function CheckoutSuccessPage() { {session.customerEmail && (

- Email -

{session.customerEmail}

+ Email +

{session.customerEmail}

)}
- Date -

+ Date +

{new Date().toLocaleDateString('en-US', { year: 'numeric', month: 'long', @@ -418,11 +425,11 @@ export default function CheckoutSuccessPage() { transition={{ delay: 0.35 }} className="mt-6" > -

-

+
+

Your Carbon Offset Distribution

-

+

Your {order.tons} tons of CO₂ offsets are distributed across these verified projects:

-
+
@@ -454,19 +461,19 @@ export default function CheckoutSuccessPage() { >