Admin payments
The admin Payments page is the back-office view of LifeWell's transactional system — user payments for credits / premium, refunds, consultation-credit usage, and payouts to verified professionals. The page shows transactions; the actual money movement happens via the external payment processor (aoneahsan.com/payment) plus the eventual in-app-purchase flows.
This page is admin-only and audit-logged. Financial actions require dual-admin sign-off for amounts above set thresholds.
What admins can do
| Action | Use |
|---|---|
| Review payment | See user, amount, type, status |
| Process refund | Refund a charged payment (within policy window) |
| Adjust credit balance | Grant or deduct credits (with reason) |
| Track professional payouts | Pending / paid amounts per pro |
| Reconcile | Match external-processor records with LifeWell credit ledger |
Payment record fields
Each payment row shows:
- User UID + display name.
- Amount + currency.
- Type — credit purchase / premium subscription / consultation payment.
- Status — pending / completed / refunded / disputed.
- External processor reference (e.g. transaction ID at aoneahsan.com/payment).
- Created date + completed date.
- Notes (admin-added).
Admins don't see the user's card number or bank details — those stay with the processor.
Refund flow
To process a refund:
- Open the payment.
- Refund → required: reason, full or partial amount.
- If amount > threshold (typically $50), dual-admin approval prompt.
- The system:
- Marks the payment refunded in LifeWell's ledger.
- Returns credits / premium to the user where appropriate.
- Triggers the actual refund via the external processor (manual step for now; automated in the future).
- The user sees a "refund processed" email + in-app banner.
- The audit log records the refund.
Refund policy enforcement
The page surfaces the relevant policy when refunding:
- Premium: refundable pro-rata within first 14 days.
- Credits: refundable within 30 days if unused; partial refund if some used.
- Consultations: per the consultation cancellation policy (typically 24 hours).
Admins can override policy with dual-admin approval (e.g. exceptional circumstances).
Professional payouts
For verified professionals offering consultations:
- Each consultation completed = credits earned (minus platform fee).
- Earnings accrue in the pro's payout balance.
- Monthly (or threshold-based) payout — admin reviews and initiates.
- Payout goes to the pro's external account (bank / PayPal / etc.).
The page shows each pro's:
- Total earned (lifetime).
- Pending payout balance.
- Last payout date.
- Per-consultation earnings breakdown.
Reconciliation
Once a month, admins reconcile LifeWell's credit ledger against the external processor's transaction list:
- Export LifeWell's transactions for the month.
- Export from the external processor.
- Diff — should match.
- Resolve discrepancies (rare but happen with refund timing, partial captures, chargebacks).
The page has a built-in reconciliation tool that highlights mismatches.
Disputed payments
Chargebacks from the processor land here:
- Status flips to "disputed".
- Admin reviews the original transaction + user history.
- Decides: contest the chargeback (with evidence) or accept the loss.
- If accepted: the user's credits / premium revert (rare; usually means the user already used them and the chargeback is fraud).
Audit log
Every financial action — refunds, credit adjustments, payouts — logs to the audit collection. This is the strictest audit surface; superadmin review of the log is monthly.
What admins CANNOT do
- Read user payment method details (the external processor holds these).
- Initiate payments on behalf of users (no admin-side "charge user").
- Skip dual-admin for above-threshold transactions.
- Modify audit log entries.
Where to read next
- Premium and payments (user) — user-side.
- Verifications — professional verification (prerequisite for payouts).
- Users — credit adjustments at user level.
Last updated: 2026-05-11 Author: Ahsan Mahmood