v2.0.3
Fixed
-
An unknown package ID no longer leaves an account with no package. CWP's
changepackanswersstatus OKfor 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/listand 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_saveis on,
since the Product/Service dropdown then does the same job. Hidden, not removed: WHMCS
draws the button becausecwp7_ChangePackageexists, 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.