Difference between revisions of "Installing and configuring MinuteStaff Offer Wall"
m (Tag: visualeditor) |
m |
||
Line 108: | Line 108: | ||
==== Restrict Postback IPs ==== | ==== Restrict Postback IPs ==== | ||
− | For better security, it is recommended to restrict IP addresses that have access to your postback handler. | + | For better security, it is recommended to restrict IP addresses that have access to your postback handler. Check the ''Restrict Postback IPs'' checkbox and enter the above IPs into the ''Whitelisted IPs'' textbox (should be seperated by a comma). |
− | |||
− | |||
− | |||
− | Check the ''Restrict Postback IPs'' checkbox and enter the above IPs into the ''Whitelisted IPs'' textbox (should be seperated by a comma). | ||
==== Postback variables ==== | ==== Postback variables ==== |
Revision as of 08:50, 27 June 2018
This tutorial will guide you through the process of integrating MinuteStaff Offer Wall into your website.
Preparation
Create new Offer Wall
Go to Admin Panel → CPA/GPT → Offer Walls → Add new and click "Add new, empty Offer Wall" button. After you click the button, you should see a success message. Now return to Installed Offerwalls page. You should now see your newly created Offer Wall as "Awaiting setup..". Activate it.
Edit the Offer Wall
In Admin Panel → CPA/GPT → Offer Walls → Installed Offerwall click "See details and edit" button. You will now see Offer Wall summary page. To edit its settings, click "Edit Offer Wall" in the panel to the left.
Create the Offer Wall in the Offer Wall provider website
Open a new tab. Go to http://www.minutestaff.com/register.php and register. Next log into your account, and go to Offer Wall App → Apps → App Management. Fill in all details:
Field | Value | Example |
---|---|---|
Site Name | Up to you | mywebsite |
Site Slogan | Up to you | |
Contact Email | Up to you | |
App Status | ONLINE | |
Offline Message | Up to you | Site under construction |
Site URL | Your website URL | http://mywebsite.com |
Notification (Postback) URL | Copy-paste from Titan Admin Panel | |
Site Currency Name | Your website virtual currency name. Should be the same as in Admin Panel → Money → Currency → Virtual currency | Points |
Currency Symbol ($) | Up to you | P |
Site Currency Ratio | Your website virtual currency value. Should be the same as in Admin Panel → Money → Currency → Virtual currency | 1:100 |
Profit Share | The percentage you want to share with your members | 50 |
Press Edit App. "Success! App edit success" message should be displayed.
Offer Wall HTML
Go to www.minutestaff.com → Offer Wall App → Integration → App Overview.
Copy iframe Code and return to your Titan Admin Panel Offer Wall. Paste your iframe Code into "HTML code" field. Make sure to replace the app_id variable with your site's App ID*, site_code with your Site Code*, and set user_id = [USERNAME], user_email = [USEREMAIL].
The HTML code should look something like:
<iframe src="https://offerwall.minutecircuit.com/display.php?app_id=999&site_code=123456qwertyu&user_id=[USERNAME]&user_email=[EMAIL]&site_type=all" width="100%" height="500" frameBorder="0">Browser not compatible.</iframe>
Full list of supported variables can be found below:
Variable | Description | Required |
---|---|---|
app_id | Your site's App ID* | Yes |
site_code | Your Site Code | Yes |
[USERNAME] | Username of currently logged in member | Yes |
site_type | Available offer categories. Default = all | Yes |
[EMAIL] | Email of currently logged in member | No |
Crediting
Name | Value |
---|---|
Credit as | Choose how you want to credit users |
What is sent? | Points |
Postback
Restrict Postback IPs
For better security, it is recommended to restrict IP addresses that have access to your postback handler. Check the Restrict Postback IPs checkbox and enter the above IPs into the Whitelisted IPs textbox (should be seperated by a comma).
Postback variables
Variable | Value |
---|---|
Username variable | user_id |
Points/money variable | credit_amount/real_amount |
Tracking Info variable | notify_id |
Credit type variable
Variable | Value | (Credit) | (Reverse) |
---|---|---|---|
Credit type variable | status | 1 | 2 |
Signature variable
Variable | Value 1 | Value 2 | Comment |
---|---|---|---|
Signature variable | verify_code | MD5(notify_code[app_id][user_id][notify_id]) | Replace notify_code with your Notify Code* |
*Can be found on www.minutestaff.com → Offer Wall App → Integration → App Overview
Successful response text
Leave blank
Test and finish
Save settings
Save your settings on both: MinuteStaff website and Titan Admin Panel.
Test if your Offer Wall is displaying properly
Go to your Titan Website → Menu → Earn → Offerwall and check if MinuteStaff Offer Wall is being displayed properly.
Congratulations! Your Offer Wall has been installed and configured properly.