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:
parent
080a6edf8b
commit
2db13612d1
5 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
NIP.md
2
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` |
|
||||
|
|
|
|||
|
|
@ -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)',
|
||||
|
|
|
|||
|
|
@ -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)',
|
||||
|
|
|
|||
|
|
@ -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' },
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue