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
@@ -111,7 +111,7 @@ interface BillingInvoice {
createdAt: string
isSubscriptionBlocking: boolean
subscriptionId?: string | null
collectionMethod?: 'STRIPE' | 'BANK_TRANSFER' | 'CHECK'
collectionMethod?: 'BANK_TRANSFER' | 'CHECK'
requestedPlan?: string | null
requestedBillingPeriod?: string | null
lineItems: InvoiceLineItem[]
@@ -370,7 +370,6 @@ export default function AdminBillingPage() {
submittedReference: 'Submitted reference',
rejectEvidence: 'Reject evidence',
confirmCleared: 'Confirm cleared manual payment',
stripeWebhookOnly: 'Stripe subscription invoices are paid only by a verified provider webhook.',
method: 'Method',
fullBalance: 'Full balance',
authoritativeReference: 'Authoritative bank/check reference',
@@ -489,7 +488,6 @@ export default function AdminBillingPage() {
submittedReference: 'Référence soumise',
rejectEvidence: 'Refuser le justificatif',
confirmCleared: 'Confirmer le paiement manuel encaissé',
stripeWebhookOnly: 'Les factures dabonnement Stripe sont payées uniquement par un webhook fournisseur vérifié.',
method: 'Mode',
fullBalance: 'Solde intégral',
authoritativeReference: 'Référence bancaire/chèque faisant foi',
@@ -608,7 +606,6 @@ export default function AdminBillingPage() {
submittedReference: 'المرجع المقدم',
rejectEvidence: 'رفض المستند',
confirmCleared: 'تأكيد تحصيل الدفع اليدوي',
stripeWebhookOnly: 'لا تُدفع فواتير اشتراك Stripe إلا عبر إشعار موثّق من مزود الدفع.',
method: 'الطريقة',
fullBalance: 'الرصيد الكامل',
authoritativeReference: 'المرجع المعتمد للتحويل/الشيك',
@@ -1492,9 +1489,7 @@ export default function AdminBillingPage() {
{selectedInvoice.subscriptionId ? (
selectedInvoice.collectionMethod === 'BANK_TRANSFER' || selectedInvoice.collectionMethod === 'CHECK' ? (
<button onClick={openManualConfirmation} disabled={!canConfirmSelectedManualPayment} className={`${ACTION_PRIMARY_CLASS} disabled:cursor-not-allowed disabled:opacity-50`}>{copy.confirmCleared}</button>
) : (
<p className="rounded-xl border border-stone-200 p-3 text-xs text-stone-600 dark:border-zinc-800 dark:text-zinc-400">{copy.stripeWebhookOnly}</p>
)
) : null
) : (
<div className="grid grid-cols-[1fr,auto] gap-2">
<input