diff --git a/src/a3 b/src/a3 index 9030723..9067f0a 100755 Binary files a/src/a3 and b/src/a3 differ diff --git a/src/a3.nim b/src/a3.nim index 42be185..37e1623 100644 --- a/src/a3.nim +++ b/src/a3.nim @@ -200,16 +200,15 @@ import form = ctx.urlForm val: Validity validity = initTable[string, Validity]() - qParams = ctx.queryParams cookies = ctx.cookies email = cookies.getOrDefault("email", "") password = cookies.getOrDefault("password", "") - productName = qParams.getOrDefault("prod", "") - quantity = parseInt(qParams.getOrDefault("quantity", "0")) + productName = form.getOrDefault("prod", "") + quantity = parseInt(form.getOrDefault("quantity", "0")) - echo ctx.queryParams["prod"] + echo productName var country = form["c_country"] diff --git a/src/a3a/checkout.nimja b/src/a3a/checkout.nimja index ea83d1b..6b53ece 100644 --- a/src/a3a/checkout.nimja +++ b/src/a3a/checkout.nimja @@ -83,6 +83,8 @@ hx-target="#change" class="row" > + +

Billing Details

diff --git a/src/a3pkg/htmx.nim b/src/a3pkg/htmx.nim index 49f3067..80ac50e 100644 --- a/src/a3pkg/htmx.nim +++ b/src/a3pkg/htmx.nim @@ -144,7 +144,9 @@ proc sendCheckOut*(val: Table[string, Validity], total: string): string = hx-post="/checkout" hx-target="#change" class="row" - > + > + +

Billing Details

@@ -479,4 +481,4 @@ proc sendThankYou*(): string=
- """ \ No newline at end of file + """