Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.younegotiate.com/llms.txt

Use this file to discover all available pages before exploring further.

Real-World Example

Jane wants to pay more than the next installment amount. The portal should apply the extra payment to the account balance and adjust remaining scheduled payment amounts or calendar events as needed.

Visual Flow

How It Should Work

  • It should validate extra payment amount and payment method before processing.
  • It should allocate successful payment correctly across the schedule.
  • It should update remaining payment amount, history, and calendar event amount where needed.

How It Should Not Work

  • It should not overpay a completed account without a clear rule.
  • It should not update the schedule before payment success is confirmed.
  • It should not leave calendar amounts stale after allocation changes.

Developer Notes

  • Extra payment behavior is schedule allocation, not a new negotiation.
  • Calendar amount update jobs help keep external calendars aligned.
  • app/Livewire/Consumer/SchedulePlan.php
  • app/Livewire/Consumer/Forms/ExtraPaymentForm.php
  • app/Services/Consumer/SchedulePlanPaymentService.php
  • app/Jobs/UpdateCalendarEventAmount.php
Last modified on May 25, 2026