Closed n8whnp closed 5 years ago
I'm facing the exact same issue, but with WHMCS 7 and Plesk Onyx.
The minor little change referenced in the commit above fixes this issue.
Plesk internal ID EXTWHMCS-34
If you merge that change, this could be closed...
@vbaranovskiy-plesk ?
Summary:
When using the Plesk module and trying to upgrade/downgrade a Reseller type account, an error is thrown during the module Change Package event.
Replicate:
Spin up WHMCS 6.2.2 Create a Server using Plesk module (Login deets IP: 208.74.124.12 User: admin Pass: OqqvlVHJJVUQ ) Ensure you have 2 reseller service plans setup in Plesk Setup 2 products as Reseller type accounts in WHMCS using the plans from Plesk you created above Create a client and place an order for one of the plesk accounts and accept the order and run the create module command ASSERT: You should have an active product now and it should be created on the Plesk server From the product details page, click the upgrade/downgrade option and select your other package to upgrade to and place the order From the order details page, click on the Reseller Product link which will take you to the Product Details page Ensure the package has been changed over to the new product package and click the module Change Package ASSERT: an error is thrown during the upgrade as mentioned above
Example Command Sent:
<?xml version="1.0" encoding="UTF-8"?>
Example Response:
<?xml version="1.0"?>