Review longstanding trial setup-fee totals and payment timing
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by reviewing views/checkout/templates/order-summary/simple.php:206-238, inc/checkout/class-cart.php, and the existing Cart and gateway tests, comparing main with v2.16.1. Done means the intended timing and displayed initial/recurring amounts are documented, the billing cases are checked, and any implementation is separately scoped after the maintainer records a decision.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Review-only follow-up
Requested by the maintainer during release smoke testing. Do not change trial charging or display behavior automatically: the intended timing of setup fees must be reviewed first. This is a durable manual review hold, not an implementation/auto-dispatch request.
Observation
With a $19.99/month plan, a trial, and a $9.99 one-time setup fee:
- the order summary lists the fee but shows $0 as Today's Grand Total
- it shows $29.98 at the end of the trial
- the current Cart has a non-recurring $9.99 fee and
should_collect_payment()returns true
This needs review for consistency with the intended billing contract, not an assumption that the display recently regressed.
History checked
git log --follow -S 'wu_format_money(0)' -- views/checkout/templates/order-summary/simple.phptraces the zero-total branch to initial repository commite8f7955c(2024-11-30).- Formatting commit
8433379d(2025-02-07) retains it. - The same branch is present in tag
v2.16.1. - The newer fee-collection logic, including the restored-trial change in #1878, must be considered separately from this longstanding display rule.
Verified files / reference patterns
views/checkout/templates/order-summary/simple.php:206-238: unconditional zero displayed wheneverorder.has_trial, thenorder.totals.totaldisplayed for trial-end billing.inc/checkout/class-cart.php:should_collect_payment()and initial/non-recurring versus recurring totals.tests/unit/Cart_Should_Collect_Payment_Test.php: existing restored-trial and non-recurring-fee regressions.inc/gateways/class-paypal-gateway.php: existing initial/recurring amount and discount scoping.
Review deliverables
- Establish whether setup fees are intended to be charged immediately, deferred, or configurable during a trial.
- Compare current main with
v2.16.1for actual initial-charge behavior, not just display text. - Check new and restored checkout, no-card trials on/off, one-time fees, discounts and taxes.
- Document which initial and recurring amounts the summary should present under the chosen contract.
- If a change is warranted, scope a separate implementation with compatibility notes; do not silently change existing customer billing timing.
Verification for any later implementation
Use the existing Cart and gateway tests, browser order-state versus displayed totals, and sandbox initial/renewal charges. No new test infrastructure is required. Live billing evidence is not yet available from the smoke-test environment.
Hold reason
no-auto-dispatch: explicit maintainer review request and unresolved billing-semantics decision. Keep this issue in review until that decision is recorded.
aidevops.sh v3.34.13 plugin for OpenCode v1.18.31 with gpt-6.1-sol spent 2h 22m and 418,760 tokens on this with the user in an interactive session.
- Lingua principale
- PHP
- Stelle
- 214
- Fork
- 86
- Merge medio
- 13h 15m
- PR unite (30g)
- 59
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Ultimate-Multisite/ultimate-multisite
-
origin:interactive status:in-review type:bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Ultimate-Multisite/ultimate-multisite#1879 ·
I maintainer di solito rispondono entro 1 giorno
-
auto-dispatch hold-for-review origin:worker review-followup source:review-scanner status:available tier:standard
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
Ultimate-Multisite/ultimate-multisite#1867 · 7 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
auto-dispatch bug origin:worker priority:high source:ci-feedback status:available tier:standard
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
Ultimate-Multisite/ultimate-multisite#1839 · 47 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
auto-dispatch blocked-by:GH#1805 origin:interactive priority:medium quality-debt status:blocked tier:standard
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
Ultimate-Multisite/ultimate-multisite#1808 ·
I maintainer di solito rispondono entro 1 giorno
-
auto-dispatch blocked-by:GH#1805 origin:interactive priority:medium quality-debt status:blocked tier:standard
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Ultimate-Multisite/ultimate-multisite#1809 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Ultimate-Multisite/ultimate-multisite
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
awslabs/aidlc-workflows#1879 ·
I maintainer di solito rispondono entro 1 giorno
-
bug customer-reported
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
MagnaCapax/PMSS#1011 ·
I maintainer di solito rispondono entro 5 giorni
-
Talk Review
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
socallinuxexpo/scale-drupal#351 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
code4romania/cpc#47 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug Status: Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno