Checkout
The Mint Panel's Checkout script is a freely available standalone script that allows you to implement a simple shopping chart directly into your website.
You can download the Mint Panel check out script from:
wget http://update.mintpanel.com/clients/checkout.zip
Once you have extracted its contents you will need to update "inc/config.php" with the information required by the file. We recommend creating a separate user within Mint Panel to handle orders rather than using the administrative account for security reasons.
If you have any suggestions or requests please email our development team here.
Example setup
cd /opt/mintpanel/services/servers/default/httpdocs/
wget http://update.mintpanel.com/clients/checkout.zip
unzip checkout.zip
chown -R apache:apache *
cd themes/default/
chmod 774 templates_c/
Once you have copied over the files and updated the permissions, we'll need to modify the configuration file in order to setup the checkout script. In this example our server's IP address is "10.17.80.122". If you are using a domain, or hostname then substitute that in instead.
<?php
// The URL this checkout script runs on
$SITE_URL = 'http://10.17.80.122/';
// Mint Panel Web interface
$API_URL = 'https://10.17.80.122:5225/api';
// Your Administrative Information or reseller account details.
// Your Reseller account must enabled for API access.
// It maybe an idea to create a separate account just for the checkout.
$API_USERNAME = 'admin@mintpanel.com';
$API_PASSWORD = 'admin';
// Your Api key from System->Settings.
$API_KEY = '48600dc63286f09a156af5ecbe480d8e';
// Enable debugging
$API_DEBUG = false;
//
// IT IS CRITICALLY IMPORTANT THAT THIS FILE ENDS WITH NO WHITE SPACE
//
?>
The checkout script is now configured. Visit the URL http://10.17.80.122/ and you'll see a checkout form with your game, voice and web services already setup. If you see a continual loading screen then you have not configured your configuration file correctly. Please make sure the values match your configuration and not the one in the example.