ÁSZF: terms page, consent on every purchase, confirmation e-mail
The new /aszf page holds the terms (a draft for legal review; the company data come from lib/legal.ts). Stripe's payment page asks every buyer to accept them and to ask for immediate delivery, giving up the 14-day withdrawal right; the time and the terms version are stored, and a purchase_confirmation e-mail confirms it. Login, the landing footer, the package cards and the sitemap link the terms. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -202,6 +202,22 @@ impl Source {
|
||||
}
|
||||
|
||||
impl Package {
|
||||
/// What the package gives, as a phrase: "2 részletes képletelemzés, 1 kapcsolati elemzés, …".
|
||||
pub fn contents_text(&self) -> String {
|
||||
[
|
||||
(self.natal, "részletes képletelemzés"),
|
||||
(self.synastry, "kapcsolati elemzés"),
|
||||
(self.forecast, "éves előrejelzés"),
|
||||
(self.persons, "személyhely"),
|
||||
(self.questions, "kérdés"),
|
||||
]
|
||||
.into_iter()
|
||||
.filter(|&(n, _)| n > 0)
|
||||
.map(|(n, what)| format!("{n} {what}"))
|
||||
.collect::<Vec<_>>()
|
||||
.join(", ")
|
||||
}
|
||||
|
||||
/// The invoice item: a name that says what the service is (online,
|
||||
/// software-made content; no profession implied), and what the package
|
||||
/// contains (Áfa tv. 169. § e).
|
||||
|
||||
Reference in New Issue
Block a user