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 saves a debit card in BillPay Wallet and later wants to remove it. If that card is attached to an upcoming scheduled payment, the portal should block deletion until Jane moves the schedule to another valid method.

Visual Flow

How It Should Work

  • It should let consumers manage saved payment methods safely.
  • It should prevent deletion of payment methods assigned to scheduled or failed payments unless replacement rules are satisfied.
  • It should support updating scheduled transactions to use a different saved method when allowed.

How It Should Not Work

  • It should not break a payment plan by deleting the only assigned payment method.
  • It should not expose payment profiles from another consumer.
  • It should not store sensitive card data outside the approved gateway/profile service.

Developer Notes

  • Wallet behavior affects Payment Setup, Schedule Plan, and background installment processing.
  • Always check scheduled transaction usage before destructive wallet changes.
  • app/Livewire/Consumer/BillPayWallet.php
  • app/Livewire/Consumer/Forms/BillPayWalletForm.php
  • app/Livewire/Consumer/Forms/UseSavedPaymentMethodForm.php
  • app/Services/Consumer/PaymentProfileService.php
Last modified on May 25, 2026