update payment method, remove stripe, paypal, amanapay
Build & Push / Pipeline Tests (push) Failing after 59s
Build & Push / Build & Push Docker Image (push) Has been skipped
Test / Type Check (all packages) (push) Failing after 48s
Test / API Unit Tests (push) Has been skipped
Test / Homepage Unit Tests (push) Has been skipped
Test / Carplace Unit Tests (push) Has been skipped
Test / Admin Unit Tests (push) Has been skipped
Test / Dashboard Unit Tests (push) Has been skipped
Test / API Integration Tests (push) Has been skipped

This commit is contained in:
root
2026-08-17 21:05:29 -04:00
parent c9915a8315
commit fe8ffbeb9f
109 changed files with 568 additions and 2662 deletions
+11 -11
View File
@@ -2,7 +2,7 @@
## Platform Model
**Rental Companies (B2B)** — pay RentalDriveGoa subscription (AmanPay or PayPal), get:
**Rental Companies (B2B)** — pay RentalDriveGo a subscription via manual bank transfer or check, get:
- A fully private dashboard (zero data overlap with any other company)
- Fleet management with vehicle photo upload (photos auto-appear on global carplace)
- Promotional offers management
@@ -16,16 +16,16 @@
---
## ⚠️ Payment Providers — Stripe Has Been Removed
## Payment Model — Manual Bank Transfer and Check Only
| Provider | Purpose |
|----------|---------|
| **AmanPay** (amanpay.net) | Primary. National/international cards, cash (3000+ points), e-wallet. Moroccan PCI-DSS Level-1 PSP. |
| **PayPal** | Secondary. Global coverage. |
All subscription and rental payments are recorded manually:
**Two payment contexts:**
1. Company pays RentalDriveGosubscription → RentalDriveGo's own AmanPay/PayPal account
2. Renter pays company for rental → Company's own AmanPay merchant + PayPal account (direct, no intermediary)
| Context | Methods |
|---------|---------|
| **Company subscription billing** | Bank transfer or check via manual checkout and payment submissions |
| **Rental payments (dashboard)** | Bank transfer or check recorded against reservations |
Online checkout providers (Stripe, AmanPay, PayPal) have been removed from the platform.
---
@@ -85,8 +85,8 @@ See **`docs/design/README.md`** for what changed during the production-readiness
| Concern | Technology |
|---------|-----------|
| Subscription payment | AmanPay (primary) + PayPal (secondary) |
| Rental payment | Company's own AmanPay merchant + PayPal |
| Subscription payment | Manual bank transfer or check |
| Rental payment | Manual bank transfer or check |
| PDF generation | `@react-pdf/renderer` — server-side, on-demand, never stored |
| Damage diagrams | SVG top-down car map (22 zones, React interactive + PDF static render) |
| Insurance | Per-company configurable policies with per-day/flat/% charge types |