Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[AutoVIP][HELP]PayGol Script
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Jeffrey" data-source="post: 305285" data-attributes="member: 27898"><p style="text-align: left">[SPOILER="RevCMS Paygol - Credits to Exonize on RZ"][/SPOILER]</p><p>[SPOILER="RevCMS Paygol - Credits to Exonize on RZ"]</p><p><a href="https://secure.paygol.com/images/paygol_main.png" target="_blank"><img src="https://secure.paygol.com/images/paygol_main.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></p><p></p><p>Hello, i would like to release my PayGol IPN, i have been using it for a couple of months and it does all the work!</p><p></p><p><strong>Step 1</strong></p><p></p><p>Register at <a href="https://secure.paygol.com/register" target="_blank">PayGol</a> and <a href="http://www.paygol.com/micropayment/" target="_blank">create a service</a>.</p><p></p><p><img src="http://i45.tinypic.com/2zqv9fs.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p><strong>It's very important that Url Background is your hotel ip(if using cloudflare).</strong></p><p></p><p>Choose which countries that are allowed to use your service and click "Save".</p><p></p><p>If you did everything like i told you should now have created a service.</p><p></p><p><strong>Step 2</strong></p><p></p><p>We are now ready to install the script, go to your root folder and <strong>create a new</strong> folder "pg", go to your new folder and create the file "<strong>_bg.php</strong>".</p><p></p><p><strong>Step 3</strong></p><p></p><p>Copy this; <strong><a href="http://pastebin.com/u8Q2ncYm" target="_blank"> PayGol IPN - Pastebin.com</a></strong> and paste it into _bg.php and configure this file with your DB details, currencies etc.</p><p></p><p><strong>Step 4</strong></p><p></p><p>You will need a HTML code from PayGol:</p><p>Go to <a href="https://secure.paygol.com/services" target="_blank">https://secure.paygol.com/services</a>, find your service and click on this icon "<img src="https://secure.paygol.com/images/icons/18x18/tools.png" alt="" class="fr-fic fr-dii fr-draggable " style="" />".</p><p></p><p>Now copy the PopUp code and add it into your CMS.</p><p></p><p><strong>Step 5</strong></p><p></p><p>Now you probably have a "Pay Now" button in your CMS, only one last step.</p><p>You will need to find:</p><p>[PHP] <input type="hidden" name="pg_custom" value=""> [/PHP] </p><p>And then change it to this:</p><p>[PHP] <input type="hidden" name="pg_custom" value="{id}"> [/PHP]</p><p><strong><span style="color: #ff4d4d">{id} will only work in RevCMS, it gets the user ID so the user get VIP.</span></strong></p><p></p><p><strong>Step 6 - Only for RevCMS</strong></p><p>Go to app / class.template.php</p><p></p><p>Find:</p><p>[PHP] $this->setParams('username', $users->getInfo($_SESSION['user']['id'], 'username')); [/PHP]</p><p>Then add this on a new line over:</p><p>[PHP] $this->setParams('id', $users->getInfo($_SESSION['user']['id'], 'id')); [/PHP]</p><p><strong><span style="color: #ff0000">This will make {id} work.</span></strong></p><p></p><p><strong>This script will give 100 VIP-Points, you can change the query to whatever you wan't.</strong></p><p><em>Sorry for my bad English, im from Norway.</em></p><p></p><p>Best Regards,</p><p>Exonize</p><p></p><p>[/SPOILER]</p></blockquote><p></p>
[QUOTE="Jeffrey, post: 305285, member: 27898"] [LEFT][SPOILER="RevCMS Paygol - Credits to Exonize on RZ"][/SPOILER][/LEFT][SPOILER="RevCMS Paygol - Credits to Exonize on RZ"] [URL='https://secure.paygol.com/images/paygol_main.png'][IMG]https://secure.paygol.com/images/paygol_main.png[/IMG][/URL] Hello, i would like to release my PayGol IPN, i have been using it for a couple of months and it does all the work! [B]Step 1[/B] Register at [URL='https://secure.paygol.com/register']PayGol[/URL] and [URL='http://www.paygol.com/micropayment/']create a service[/URL]. [IMG]http://i45.tinypic.com/2zqv9fs.png[/IMG] [B]It's very important that Url Background is your hotel ip(if using cloudflare).[/B] Choose which countries that are allowed to use your service and click "Save". If you did everything like i told you should now have created a service. [B]Step 2[/B] We are now ready to install the script, go to your root folder and [B]create a new[/B] folder "pg", go to your new folder and create the file "[B]_bg.php[/B]". [B]Step 3[/B] Copy this; [B][URL='http://pastebin.com/u8Q2ncYm'] PayGol IPN - Pastebin.com[/URL][/B] and paste it into _bg.php and configure this file with your DB details, currencies etc. [B]Step 4[/B] You will need a HTML code from PayGol: Go to [URL]https://secure.paygol.com/services[/URL], find your service and click on this icon "[IMG]https://secure.paygol.com/images/icons/18x18/tools.png[/IMG]". Now copy the PopUp code and add it into your CMS. [B]Step 5[/B] Now you probably have a "Pay Now" button in your CMS, only one last step. You will need to find: [PHP] <input type="hidden" name="pg_custom" value=""> [/PHP] And then change it to this: [PHP] <input type="hidden" name="pg_custom" value="{id}"> [/PHP] [B][COLOR=#ff4d4d]{id} will only work in RevCMS, it gets the user ID so the user get VIP.[/COLOR][/B] [B]Step 6 - Only for RevCMS[/B] Go to app / class.template.php Find: [PHP] $this->setParams('username', $users->getInfo($_SESSION['user']['id'], 'username')); [/PHP] Then add this on a new line over: [PHP] $this->setParams('id', $users->getInfo($_SESSION['user']['id'], 'id')); [/PHP] [B][COLOR=#ff0000]This will make {id} work.[/COLOR][/B] [B]This script will give 100 VIP-Points, you can change the query to whatever you wan't.[/B] [I]Sorry for my bad English, im from Norway.[/I] Best Regards, Exonize [/SPOILER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[AutoVIP][HELP]PayGol Script
Top