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.
This commit is contained in:
SkateSpots 2026-10-04 10:32:27 +07:00
parent 080a6edf8b
commit 2db13612d1
5 changed files with 2 additions and 5 deletions

View file

@ -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 **`min-h-0`** — the global mobile `button { min-height:44px }` rule turned
every chip into a 44px slab otherwise. every chip into a 44px slab otherwise.
**Payments (2026-10-04):** coaches **declare** accepted methods **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` `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 (+`booking_fee_currency`). A booking fee is **paid directly to the coach's
kind-0 `lud16`** via the existing `PayWithSats` (NWC→WebLN→Cashu) — mounted kind-0 `lud16`** via the existing `PayWithSats` (NWC→WebLN→Cashu) — mounted

2
NIP.md
View file

@ -2072,7 +2072,7 @@ client-side.
| `rate_amount` | number | Optional structured rate amount (with `rate_currency` + `rate_unit`) | | `rate_amount` | number | Optional structured rate amount (with `rate_currency` + `rate_unit`) |
| `rate_currency` | `sats`, `USD`, `EUR`, `GBP` | Currency for `rate_amount` | | `rate_currency` | `sats`, `USD`, `EUR`, `GBP` | Currency for `rate_amount` |
| `rate_unit` | `hour`, `session`, `half-day`, `day`, `camp` | Billing unit 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") | | `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` | number | Optional fee to confirm a booking (with `booking_fee_currency`) |
| `booking_fee_currency` | `sats`, `USD`, `EUR`, `GBP` | Currency for `booking_fee` | | `booking_fee_currency` | `sats`, `USD`, `EUR`, `GBP` | Currency for `booking_fee` |

View file

@ -2239,7 +2239,6 @@ labUi: {
payMethodLightning: 'Lightning', payMethodLightning: 'Lightning',
payMethodCashu: 'Cashu', payMethodCashu: 'Cashu',
payMethodBank: 'Bank transfer', payMethodBank: 'Bank transfer',
payMethodPaypal: 'PayPal',
payMethodOther: 'Other', payMethodOther: 'Other',
payWhatYouCanLabel: 'Sliding scale / pay what you can', payWhatYouCanLabel: 'Sliding scale / pay what you can',
bookingFeeLabel: 'Booking fee (optional)', bookingFeeLabel: 'Booking fee (optional)',

View file

@ -2239,7 +2239,6 @@ labUi: {
payMethodLightning: 'Lightning', payMethodLightning: 'Lightning',
payMethodCashu: 'Cashu', payMethodCashu: 'Cashu',
payMethodBank: 'Transferencia bancaria', payMethodBank: 'Transferencia bancaria',
payMethodPaypal: 'PayPal',
payMethodOther: 'Otro', payMethodOther: 'Otro',
payWhatYouCanLabel: 'Tarifa social / paga lo que puedas', payWhatYouCanLabel: 'Tarifa social / paga lo que puedas',
bookingFeeLabel: 'Reserva (opcional)', bookingFeeLabel: 'Reserva (opcional)',

View file

@ -110,6 +110,5 @@ export const COACH_PAYMENT_METHODS: CoachOption[] = [
{ value: 'lightning', key: 'labUi.coachForm.payMethodLightning' }, { value: 'lightning', key: 'labUi.coachForm.payMethodLightning' },
{ value: 'cashu', key: 'labUi.coachForm.payMethodCashu' }, { value: 'cashu', key: 'labUi.coachForm.payMethodCashu' },
{ value: 'bank', key: 'labUi.coachForm.payMethodBank' }, { value: 'bank', key: 'labUi.coachForm.payMethodBank' },
{ value: 'paypal', key: 'labUi.coachForm.payMethodPaypal' },
{ value: 'other', key: 'labUi.coachForm.payMethodOther' }, { value: 'other', key: 'labUi.coachForm.payMethodOther' },
]; ];