Files
crosscode-platform/apps/events/frontend/src/content/help/dashboard-user-donate.tsx
T
joshuaandClaude Opus 5.5 228719ef96 PayFast provider, Pay online page, amount checks on payments
- PayFast (custom integration): signed form (PHP-style encoding, checked
  against a real sandbox), ITN checks (signature over all posted fields,
  PayFast host, VALID from /eng/query/validate, amount vs checkout).
- ProviderCheckout records every checkout (amount, metadata, request);
  webhooks match payments to it and hold a different amount for review
  (ProviderTransaction.note).
- /pay/<id>: payers choose a provider when several are on, and the
  browser posts PayFast's form from there, so payment links work for
  every provider.
- Site settings → Payments: PayFast card (merchant ID/key, encrypted
  passphrase, sandbox/live) while PayFast is enabled.
- Payer-facing wording no longer names Yoco; legal pages name both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 14:25:49 +02:00

29 lines
1.1 KiB
TypeScript

import React from "react";
import { HandHeart, CreditCard } from "lucide-react";
import { GuideItem } from "@/components/shared/GuideItem";
import type { HelpContent } from "./types";
/** Help content for /dashboard/user/donate. */
export const dashboardUserDonateHelpContent: HelpContent = {
title: "Donations help",
subtitle: "Support an event or the ministry directly.",
quickLinks: [
{ label: "My Payments", href: "/dashboard/user/payments", icon: CreditCard },
],
tabs: [
{
key: "overview",
label: "Making a donation",
icon: HandHeart,
content: (
<div className="space-y-4">
<p>Pick an event to support and an amount (minimum R15), then you&apos;ll be taken to a secure online checkout to complete payment.</p>
<GuideItem icon={HandHeart} title="Not tied to a registration" tone="rose">
A donation is separate from paying for your own ticket — it&apos;s a direct contribution, and it isn&apos;t required to register for or attend an event.
</GuideItem>
</div>
),
},
],
};