CreateAcct 'Sorry you must choose a package'

alexanderu

Member
Jul 31, 2012
5
0
1
cPanel Access Level
Root Administrator
Hi There,

My billing system uses the 'CreateAcct' in order to create accounts.
The application itself handles hosting packages (including disk quotas, bandwidth limits, and so forth) so it is not necessary to associate them with a package in WHM.

However, when it tries to create an account, it always throws back the error 'Sorry you must chose a package'?
Why is this happening?

My friends use this software with no problem, so I do not believe it is a software issue.

Many thanks!

A
 

alexanderu

Member
Jul 31, 2012
5
0
1
cPanel Access Level
Root Administrator
If it connects to the cPanel API then it most likely needs to find a Package before an account can be created.

Whats the name of the software?
Invision Power - Commerce. (IP.Commerce).
Support has mentioned that: 'The error is a bit strange, as the API does not actually require a package to be selected or even created when creating accounts.'.

We're using this API:

api.monosnap.com/rpc/file/download?id=JNMNWkg0aw3DZzgXhtBH4ZPIIV1vhJ

p.s - Ignore the 'testuser' as username - I know it won't create if we use that username, but I'm just putting it there as an example for you :)
 
Last edited by a moderator:

alexanderu

Member
Jul 31, 2012
5
0
1
cPanel Access Level
Root Administrator
So you've spoken to support for the script then? You might want to stick with them to work this out.
Yes, but they told me to contact you guys:

'I would recommend contacting WHM about this issue and see if there is something specific happening with your WHM configuration '
'I am unsure as to why the API would not work coming from our Commerce, but the API Shell works. The error is a bit strange, as the API does not actually require a package to be selected or even created when creating accounts.'