Skip to content

Add private payment-confirmation form to sci-fi checkout#75

Merged
hutoczky merged 5 commits into
copilot/implement-payment-sectionfrom
copilot/extend-checkout-payment-confirmation
Jul 10, 2026
Merged

Add private payment-confirmation form to sci-fi checkout#75
hutoczky merged 5 commits into
copilot/implement-payment-sectionfrom
copilot/extend-checkout-payment-confirmation

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

The sci-fi checkout needed a buyer-facing transfer confirmation step for manual QR/bank payments without ever exposing the recipient email in static client assets. This change adds a Hungarian confirmation form, keeps delivery disabled until a public submit endpoint is configured, and documents the privacy-preserving integration point.

  • Checkout flow

    • Added a second-step payment confirmation form inside docs/scifi-ui for transfer notifications.
    • Prefills order/reference, selected plan, cycle, currency, and amount from the checkout state.
    • Keeps the existing demo card flow intact while making transfer selection drive the confirmation experience.
  • Privacy boundary

    • Introduced a single isolated client config point via formatx-payment-confirmation-endpoint.
    • Submission is disabled by default when no public endpoint URL is configured.
    • Removed any implication that the static site can directly send private email; recipient address stays in Formspree/backend config only.
  • Buyer-facing UX

    • Added Hungarian fields for:
      • order/reference ID
      • selected plan/currency/amount
      • payer name
      • buyer email
      • transfer reference
      • optional message
      • consent
    • Added clear disabled-state copy when the form is not connected.
    • Preserved keyboard usability and responsive layout across themes, including ?theme=holo.
  • Docs

    • Added concise setup notes for wiring the public endpoint to Formspree or a serverless handler while keeping the recipient email private.
    • Expanded the sci-fi UI manual verification notes for the confirmation form.
<meta
  name="formatx-payment-confirmation-endpoint"
  content="https://formspree.io/f/your-public-form-id"
>
const paymentConfirmationMeta = document.querySelector(
  'meta[name="formatx-payment-confirmation-endpoint"]'
);
const paymentConfirmationEndpoint = paymentConfirmationMeta?.content?.trim() || '';

Copilot AI changed the title [WIP] Add buyer-facing payment confirmation form to checkout Add private payment-confirmation form to sci-fi checkout Jul 10, 2026
Copilot AI requested a review from hutoczky July 10, 2026 11:32
Copilot AI and others added 3 commits July 10, 2026 11:46
@github-actions github-actions Bot added the automerge Automatically merge this PR when checks pass label Jul 10, 2026
@github-actions github-actions Bot marked this pull request as ready for review July 10, 2026 12:04
@hutoczky hutoczky merged commit e181ea9 into copilot/implement-payment-section Jul 10, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge this PR when checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants