Commit Graph

5 Commits

Author SHA1 Message Date
johnnyq
875998bbb2 Stripe: when Stripe no longer has a client's customer, deleted there or made under other keys, forget it and the cards saved on it so the client sets up again, let new-card payments go ahead, tell agents, and remove the unused autopay_setup_stripe.js 2026-11-19 01:34:48 -05:00
johnnyq
5c5971cc4d Invoices: show when a recurring invoice's autopay pays an invoice - beside its number and under Payment on its page and under its due date in the invoices list, with the card and date, once sent for a draft, won't charge when the card runs out first or the provider is off, and didn't pay it when still owed after its due date with the decline reason; the client's invoice link says autopay will pay it; new invoiceAutopay and invoiceAutopayStatus helpers, and changelog entries 2026-11-18 18:50:52 -05:00
johnnyq
73145616e4 Invoices: Copy Invoice and Make Recurring leave off the Card Fee line ITFlow added when the invoice was paid by card, with the total without it and the windows saying so, while a typed line of that name is still copied; Tickets: moving a ticket to another client gives it a new guest link and its tasks' client approvals new links so those emailed to the old client stop working, and the Change Client window says so; Keep project tickets apart is on for a new install and stays off on an updated one; 26.11.9 changelog entries 2026-11-17 21:42:00 -05:00
johnnyq
cf2c9c2d9b Let clients pay the card fee - turn on Clients pay the card fee on Stripe in Admin > Payment Providers with Stripe's percent and fixed rate, and each card payment in the client portal, through an invoice's link, by autopay or from Charge Saved Card is grossed up so Stripe's fee comes out of it, with one fee per payment shared over its invoices; the fee is shown before paying (Pay invoices, checkout, the guest pay page, invoice pages, autopay and the Charge Saved Card window) and goes on each invoice as a Card Fee line with no tax when the payment is booked, carried in the PaymentIntent's itflow_fees metadata and checked against the amount received to the cent; a client can be let off it with No card fee on their Billing tab, refunding a card payment takes its Card Fee line back off, autopay and Charge Saved Card now compare cents instead of whole dollars, database 3.5.6 adds the provider and client columns, changelog updated 2026-11-05 12:47:06 -05:00
johnnyq
e84e3e7e49 Client portal stage 2: billing in the portal - invoices and quotes open in the portal with PDF download and print, Pay invoices pays several invoices as one Stripe card payment with a saved card or a new card on a checkout page (one payment per invoice under a shared reference, booked once under a lock, one receipt and one paid notification), quotes accepted or declined with the contact's name and a note plus signed copy or PO upload, payments list with printable receipts, statement with aging and the shared statement PDF, recurring invoice page with autopay, Cards and autopay on one page, quotes waiting and past-due invoices on home, Ask us links prefill a ticket subject; shared billingQuoteAnswer and billingQuoteAddFiles used by the guest links too, new functions/billing_pay.php, Stripe-aware CSP for card pages with js/portal_stripe.js, nightly Stripe fee reconciled once per payment reference, Stripe refund limited to the payment's own amount, old add_payment_by_provider removed 2026-10-17 02:12:05 -04:00