plesk / whmcs-plugin

Other
16 stars 33 forks source link

Plesk Module Fails to Change Package for Reseller Type Acccounts #14

Closed n8whnp closed 5 years ago

n8whnp commented 7 years ago

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"?>

a3d9d758-ed27-0eda-387f-6c4c0bb41ee6

Example Response:

<?xml version="1.0"?>

error 1014 Parser error: Request is invalid. Error in line 4: Element 'id': '' is not a valid value of the atomic type 'id_type'.
agarzon commented 7 years ago

I'm facing the exact same issue, but with WHMCS 7 and Plesk Onyx.

jas8522 commented 7 years ago

The minor little change referenced in the commit above fixes this issue.

oneumyvakin commented 7 years ago

Plesk internal ID EXTWHMCS-34

jas8522 commented 7 years ago

If you merge that change, this could be closed...

jas8522 commented 6 years ago

@vbaranovskiy-plesk ?