From 2db13612d1beabc62a67182622761c01087adf8e Mon Sep 17 00:00:00 2001 From: SkateSpots Date: Sun, 4 Oct 2026 10:32:27 +0700 Subject: [PATCH] Drop PayPal from coach payment methods Keep Cash on site / Lightning / Cashu / Bank transfer / Other. Existing profiles that already carry a 'paypal' payment_method still render it (raw fallback), so no data is lost. NIP.md + AGENTS.md updated. --- AGENTS.md | 2 +- NIP.md | 2 +- src/i18n/en.ts | 1 - src/i18n/es.ts | 1 - src/lib/coachOptions.ts | 1 - 5 files changed, 2 insertions(+), 5 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index cc54092..f5f725b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -87,7 +87,7 @@ session with **no other memory of this project**. So: **`min-h-0`** — the global mobile `button { min-height:44px }` rule turned every chip into a 44px slab otherwise. **Payments (2026-10-04):** coaches **declare** accepted methods - (`payment_method`: cash/lightning/cashu/bank/paypal/other) + an optional + (`payment_method`: cash/lightning/cashu/bank/other) + an optional `payment_note`, a `pay_what_you_can` flag, and an optional `booking_fee` (+`booking_fee_currency`). A booking fee is **paid directly to the coach's kind-0 `lud16`** via the existing `PayWithSats` (NWC→WebLN→Cashu) — mounted diff --git a/NIP.md b/NIP.md index 4f5e3aa..d03de1d 100644 --- a/NIP.md +++ b/NIP.md @@ -2072,7 +2072,7 @@ client-side. | `rate_amount` | number | Optional structured rate amount (with `rate_currency` + `rate_unit`) | | `rate_currency` | `sats`, `USD`, `EUR`, `GBP` | Currency for `rate_amount` | | `rate_unit` | `hour`, `session`, `half-day`, `day`, `camp` | Billing unit for `rate_amount` | -| `payment_method` | `cash`, `lightning`, `cashu`, `bank`, `paypal`, `other` | Repeatable — declared accepted payment methods | +| `payment_method` | `cash`, `lightning`, `cashu`, `bank`, `other` | Repeatable — declared accepted payment methods | | `payment_note` | free-form | Optional note about payment (e.g. "first session free") | | `booking_fee` | number | Optional fee to confirm a booking (with `booking_fee_currency`) | | `booking_fee_currency` | `sats`, `USD`, `EUR`, `GBP` | Currency for `booking_fee` | diff --git a/src/i18n/en.ts b/src/i18n/en.ts index 2b9ccc2..3d1a5af 100644 --- a/src/i18n/en.ts +++ b/src/i18n/en.ts @@ -2239,7 +2239,6 @@ labUi: { payMethodLightning: 'Lightning', payMethodCashu: 'Cashu', payMethodBank: 'Bank transfer', - payMethodPaypal: 'PayPal', payMethodOther: 'Other', payWhatYouCanLabel: 'Sliding scale / pay what you can', bookingFeeLabel: 'Booking fee (optional)', diff --git a/src/i18n/es.ts b/src/i18n/es.ts index 5d67de6..4e1f046 100644 --- a/src/i18n/es.ts +++ b/src/i18n/es.ts @@ -2239,7 +2239,6 @@ labUi: { payMethodLightning: 'Lightning', payMethodCashu: 'Cashu', payMethodBank: 'Transferencia bancaria', - payMethodPaypal: 'PayPal', payMethodOther: 'Otro', payWhatYouCanLabel: 'Tarifa social / paga lo que puedas', bookingFeeLabel: 'Reserva (opcional)', diff --git a/src/lib/coachOptions.ts b/src/lib/coachOptions.ts index 56190e2..912f308 100644 --- a/src/lib/coachOptions.ts +++ b/src/lib/coachOptions.ts @@ -110,6 +110,5 @@ export const COACH_PAYMENT_METHODS: CoachOption[] = [ { value: 'lightning', key: 'labUi.coachForm.payMethodLightning' }, { value: 'cashu', key: 'labUi.coachForm.payMethodCashu' }, { value: 'bank', key: 'labUi.coachForm.payMethodBank' }, - { value: 'paypal', key: 'labUi.coachForm.payMethodPaypal' }, { value: 'other', key: 'labUi.coachForm.payMethodOther' }, ];