TryGhostOSS
    Ghost
    🐛 Fixed paid checkout returning to homepage instead of originating page ref https://linear.app/ghost/issue/PLA-86 ref https://github.com/TryGhost/Ghost/issues/28369 - checkoutPlan() already derived a contextual cancelUrl from window.location but had no equivalent fallback for successUrl, so the standard signup/upgrade callers omitted it and the backend fell back to the site-root default — landing paid members on the homepage after Stripe Checkout instead of the article they just unlocked - mirrors the existing cancelUrl logic and continueGiftCheckout(), which already does this for gift flows - backend sanitizeReturnUrl() already enforces same-origin, so the contextual URL flows through safely with no server change needed
    nx run-many -t test:unit -p @tryghost/portal
Succeeded
CI Pipeline Execution

nx run-many -t test:unit -p @tryghost/portal

Click to copy
Linux
4 CPU cores
2cfeadb828485

Get faster results

Learn how to enable distribution.

Atomizer enabled

1 group of tasks optimized.

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools