Closed kakduman closed 2 years ago
Bump
I Would like to bump we have the same issue and everything has stopped.
Just want to clarify, the desired behavior is that the order be rejected?
Just want to clarify, the desired behavior is that the order be rejected?
no for me it just says failed to make an account. already exists. and stays as pinding
Just want to clarify, the desired behavior is that the order be rejected?
No. The desired behavior is for the order to be accepted but for the server to be given to the currently existing account associated with the email address of the Blesta user rather than attempting to create a new account under that email address
Understood.
any updates to this?
Thanks for the followup. I've scheduled this for Blesta 5.3 and I'll be sure to update this thread when the task is complete.
Looks like I forgot to update this issue. But this was indeed resolved in 5.3 as a part of CORE-4427
This is the PR that fixed it #63
Blesta accepts payment but cannot successfully execute the create server action for new people if they already have access to a server because the user already exists and it tries to create a new account with the same email. Instead, Blesta should just give the new server to the already-existing user.
Steps to reproduce
WHMCS does not have this bug, so feel free to look at the source code for the WHMCS module for a potential fix: https://github.com/pterodactyl/whmcs/blob/master/pterodactyl/pterodactyl.php