Skip to content

v2.0.3

Choose a tag to compare

@bradleygb bradleygb released this 18 Aug 06:25
· 30 commits to main since this release

Fixed

  • An unknown package ID no longer leaves an account with no package. CWP's
    changepack answers status OK for an ID that does not exist, silently detaching the
    account from any package. The requested ID is now checked against the server's package
    list before anything changes, and a mismatch is refused with the valid IDs listed.
    Applies to account creation as well.

    The check needs Packages/list and fails open without it, so it never blocks a
    package change that would otherwise succeed.

Changed

  • The Change Package button is hidden while apply_package_on_service_save is on,
    since the Product/Service dropdown then does the same job. Hidden, not removed: WHMCS
    draws the button because cwp7_ChangePackage exists, and that function must stay —
    a paid upgrade or downgrade order calls it, and dropping it would bill a customer for a
    package the server never applies. Turning the setting off brings the button back.