Difference between revisions of "Update IP and port in WHMCS"
Line 1: | Line 1: | ||
− | When you create a game server with the billing API WHMCS does not get updated with the game server's IP and port. You can configure a recurring in TCAdmin to update the WHMCS database every day: | + | When you create a game server with the billing API WHMCS does not get updated with the game server's IP and port. |
+ | |||
+ | You can configure a recurring in TCAdmin to update the WHMCS database every day: | ||
* Go to Settings > Recurring Tasks. | * Go to Settings > Recurring Tasks. | ||
Line 6: | Line 8: | ||
* Enter the information required to connect to your WHMCS database. If you use custom billing software you can specify a custom SQL update command. | * Enter the information required to connect to your WHMCS database. If you use custom billing software you can specify a custom SQL update command. | ||
* When the task runs the product's domain field in WHMCS should have the game server's IP and port. | * When the task runs the product's domain field in WHMCS should have the game server's IP and port. | ||
+ | |||
+ | |||
+ | Another option is to use this script: [[Update_WHMCS_database_after_the_game_server_has_been_created]] |
Revision as of 12:17, 5 August 2020
When you create a game server with the billing API WHMCS does not get updated with the game server's IP and port.
You can configure a recurring in TCAdmin to update the WHMCS database every day:
- Go to Settings > Recurring Tasks.
- Create a new recurring task and configure it to execute daily.
- In the Actions tab add a new action of type "Sync Service IP with Billing".
- Enter the information required to connect to your WHMCS database. If you use custom billing software you can specify a custom SQL update command.
- When the task runs the product's domain field in WHMCS should have the game server's IP and port.
Another option is to use this script: Update_WHMCS_database_after_the_game_server_has_been_created