feat: complete day 13

This commit is contained in:
Ayobami
2025-07-17 21:55:47 +01:00
parent 9c84737fed
commit 7d9350c3df
10 changed files with 271 additions and 40 deletions
+23
View File
@@ -0,0 +1,23 @@
extends layout
block content
.container.mt-5
.alert.alert-success
h2 Thank you for your purchase!
p Your payment was successful.
if session
h4 Payment Details
table.table
tr
th Session ID
td= session.id
tr
th Payment Status
td= session.payment_status
tr
th Amount Total
td $#{(session.amount_total / 100).toFixed(2)}
tr
th Payment Method
td= session.payment_method_types && session.payment_method_types[0]
a.btn.btn-primary.mt-4(href="/") Back to Products