Jump to content
  • 0

How To Setup Multicraft Api.php For Blesta


Question

Recommended Posts

  • 0
Posted
  On 12/16/2015 at 11:11 PM, kennethgomad03 said:

yes also i have question what is the api.php need for ?

 

This is how Blesta connects to your Multicraft panel.

 

  On 12/16/2015 at 11:13 PM, kennethgomad03 said:

could you please help me how to set it up please if you could?

 

What is the URL to your Multicraft panel?

  • 0
Posted
  On 12/16/2015 at 11:22 PM, kennethgomad03 said:

yea but the problem is when cleints had bought a package they do'nt recieve a username and pass automatic generate.

 

Did you add welcome email content to your Packages? See https://docs.blesta.com/display/user/Multicraft#Multicraft-WelcomeEmail

 

I suggest going through the documentation step by step, it will make a lot more sense if you are familiar with the documentation. If you have any specific issues or questions, please feel free to post them with as many details as possible.

  • 0
Posted
  On 12/16/2015 at 11:36 PM, kennethgomad03 said:

i setted up the email but customer dont recieve any plus the service don't give active or pending so its hard to know.

 

Was the order approved? (Billing > Overview: Orders widget)

 

Did you set up your cron job? Paid pending orders are provisioned by the cron.

  • 0
Posted
  On 12/16/2015 at 11:36 PM, kennethgomad03 said:

i setted up the email but customer dont recieve any plus the service don't give active or pending so its hard to know.

 

Would you like me to help on Teamviewer? If so pm me and I'll see what you are doing and how to help?

  • 0
Posted

So Mike was helping me on Teamviewer and we keep getting "An internal error occurred, or the server did not respond to the request."
 

In the logs it says under output:

http://ip-address/multicraft/api.php|findUsers
s:62:"{"success":false,"errors":["No API user supplied."],"data":[]}";

We've moved the MulticraftAPI.php in all three folders to try and fix it:

 

/components/modules/multicraft/

/components/modules/multicraft/apis/

/components/modules/multicraft/config/

 

But no luck. The username and the API key are both correct in the Module and the file itself. Is there anything we are missing? Thanks.

PS: both Input boxes on the log are successful, it's just the output's which are showing errors.

  • 0
Posted

If you pm me ill help you, If your online at around 4:10 Central US Time, Missouri I will help you out, I have all mine setup. I also tried making an account and purchasing a server, and i noticed for some reason it auto cancels the server. Ill trade some information though I'll help you out if you show me how to edit the blesta page like that. lol.

 

EDIT: Alright dude, I just noticed that you got https://, now how did you do that?? Im using wamp, and I cant get it to work what so ever. 

  • 0
Posted
  On 12/17/2015 at 3:58 PM, kingdl said:

If you pm me ill help you, If your online at around 4:10 Central US Time, Missouri I will help you out, I have all mine setup. I also tried making an account and purchasing a server, and i noticed for some reason it auto cancels the server. Ill trade some information though I'll help you out if you show me how to edit the blesta page like that. lol.

 

EDIT: Alright dude, I just noticed that you got https://, now how did you do that?? Im using wamp, and I cant get it to work what so ever. 

 

Awesome can help each other :P Multicraft seems very hard to set-up.

  • 0
Posted

To be honestly its not that hard, I just was having a super hard time setting up cron jobs and the email thing, but the email was all wrong on my part, BUT what did suck was getting PayPal setup, I had to register my company and get a Buniness Emplayee ID for a PayPal Business Account. Setting up the packages was a little hard, I got a package for a fully custom server where you can select how ever much ram and players and jar. Im all setup I just wouldnt mind getting the cron jobs  finished. I went on google and saw this one post so i tried but no luck, When i get some more free time I for sure will keep on trying. To be honestly the API was the easiest part...

  • 0
Posted
  On 12/17/2015 at 2:05 AM, kennethgomad03 said:

So Mike was helping me on Teamviewer and we keep getting "An internal error occurred, or the server did not respond to the request."

 

In the logs it says under output:

http://ip-address/multicraft/api.php|findUsers
s:62:"{"success":false,"errors":["No API user supplied."],"data":[]}";

We've moved the MulticraftAPI.php in all three folders to try and fix it:

 

/components/modules/multicraft/

/components/modules/multicraft/apis/

/components/modules/multicraft/config/

 

But no luck. The username and the API key are both correct in the Module and the file itself. Is there anything we are missing? Thanks.

PS: both Input boxes on the log are successful, it's just the output's which are showing errors.

 

What is "MulticraftAPI.php"? Blesta doesn't come with this file, so there is no reason you should be adding it to your Blesta installation.

 

The API URL the module asks for is on the Multicraft server. It sounds like you have that setup correctly because you've stated that you receive a response of "No API user supplied". You would not have received any response if this were incorrect. The error indicates the "Username" you have set in Blesta is likely missing, as it is not included in the API request to Multicraft, hence the "No API user supplied" error.

  • 0
Posted
  On 12/17/2015 at 8:04 PM, Tyson said:

What is "MulticraftAPI.php"? Blesta doesn't come with this file, so there is no reason you should be adding it to your Blesta installation.

 

The API URL the module asks for is on the Multicraft server. It sounds like you have that setup correctly because you've stated that you receive a response of "No API user supplied". You would not have received any response if this were incorrect. The error indicates the "Username" you have set in Blesta is likely missing, as it is not included in the API request to Multicraft, hence the "No API user supplied" error.

 

But we tried both a test account and the admin main account with the API key they provided when you enable access?

  • 0
Posted

I can't attest to your situation, but I can tell you how mine is setup:

- Root user in Multicraft has an API key set. Take the root username and this API key and set them in Blesta.

- The URL to the Multicraft API file is very similar to where you login (by default), e.g. https://domain.com/multicraft/api.php - set this in Multicraft as the API URL. The Panel URL is the same (by default), minus "api.php", e.g. https://domain.com/multicraft/

  • 0
Posted

Tyson got it, its ungodly easy. Also its nothing to do with Blesta api stuff its just multicraft. And all it does it just allows the new customers with there new accounts to be made on the panel. 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...