Hi,
I too am experiencing this issue.. (I came across it just recently, as I am manually aligning my customers in plesk, and manually importing them into WHMCS.). I am not seeing it with all clients, that i have set up though - so something is a bit amiss here.
So, first, a bit of background.
Plesk Onyx (17.5.3 MU17)
Centos 7.3.1611 (Core)
WHMCS 7.2.3
I have been through the following steps :
- configure the client correctly in Plesk - ensuring contact details are correct, and the email is correct (we use this later in WHMCS)
- ensure the appropriate subscription(s) are owned by the client configured in step 1
- Manually add a client to WHMCS and set the email address as the email in step 1
- Manually "import" the products representing the subscriptions for the owner/client from Step 1, in WHMCS (mark these as active)prod
After doing these steps, I know that the product is successfully linked to the subscription, as I can change the plan that the product is set to, and click "Change Package" in WHMCS and it changes the subscription plan in Plesk, as expected.
However, for some (not all) clients where I have followed this procedure, in the client area, I get no "Open Control Panel" button, but instead a message "Error code: 1013. Error message: Customer with email '
[email protected]' is not found in panel. Please contact your service provider."
when I examine the Module Log in WHMCS, I see the following:
Code:
<?xml version="1.0" encoding="UTF-8"?><packet version="1.6.3.5"><!-- Copyright 1999-2016. Parallels IP Holdings GmbH. -->
<customer>
<get>
<filter>
<login>subscrition_userid</login>
</filter>
<dataset>
<gen_info/>
</dataset>
</get>
</customer>
</packet>
and the response:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.5">
<customer>
<get>
<result>
<status>error</status>
<errcode>1013</errcode>
<errtext>client does not exist</errtext>
<filter-id>subscription_userid</filter-id>
</result>
</get>
</customer>
</packet>
Now, I know that "subscription_userid" exists as a user on the customer record, and I can log into plesk directly as that user, and get access to the subscription(s) that I should have access to.
I know that the customer owner email (the one from step 1 above) is also listed on the customer account (both as the login info for the customer, as well as the contact email) and they appear in the user tab for the account.
I know that
@UFHH01 has said that the plesk plugin is written by WHMCS, not Plesk - but i find this a bit confusing, given that the
Plesk Help Center site has a number of articles where Plesk acknowledges a bug in the code, and they have provided a fix. And more confusing is this :
GitHub - plesk/whmcs-plugin
This contains the same files that WHMCS distribute as the Plesk module (albeit not encrypted the same as the ones shipped by WHMCS).
So this is looking very much like an issue with Plesk.
I do know that for one customer that I had this issue with, I went into the "Web Hosting Acces" for the subscriptions and saved the details, and that corrected it (for one customer) but all others are still stuck in Limbo.
I have checked the database, for the differences between the customers that are working, and not working, and cannot see any difference, aside from the obvious things such as email addresses, names, UUIDs etc... so really stuck for ideas now... open to suggestions...