• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Daopay and Paypal

exique

Natala-ot.com
Joined
Sep 28, 2008
Messages
1,673
Reaction score
25
Location
Sweden
Hey! Is it possible to have both paypal and daopay in your shopsystem?
If it is..
How? :p

Rep++ if you help :)

Bump!!

YES YES.. almost 24 hours xD
 
Last edited by a moderator:
Well you can add 2 different subtopics for paypal and daopay.. Just do the same thing you would normally add them but make it twice. o.o

Like in your index.php instead of:
PHP:
case "buypoints";
		$subtopic = "buypoints";
		$topic = "Buy Points";
		include("paypal.php");
	break;
You can make it
PHP:
   case "buypoints";
		$subtopic = "buypoints";
		$topic = "PayPal";
		include("paypal.php");
	break;

   case "buypoints1";
		$subtopic = "buypoints1";
		$topic = "DaoPay";
		include("daopay.php");
	break;

That would be the easiest way..

Otherwhise you can make "Buy Points" direct you to a page where you choose a link for either one, then those links direct you to paypal or daopay.
 
Well you can add 2 different subtopics for paypal and daopay.. Just do the same thing you would normally add them but make it twice. o.o

Like in your index.php instead of:
PHP:
case "buypoints";
		$subtopic = "buypoints";
		$topic = "Buy Points";
		include("paypal.php");
	break;
You can make it
PHP:
   case "buypoints";
		$subtopic = "buypoints";
		$topic = "PayPal";
		include("paypal.php");
	break;

   case "buypoints1";
		$subtopic = "buypoints1";
		$topic = "DaoPay";
		include("daopay.php");
	break;

That would be the easiest way..

Otherwhise you can make "Buy Points" direct you to a page where you choose a link for either one, then those links direct you to paypal or daopay.

sorry i didnt know his such.................... :/
 
Doesn't work.. Now I can only use the paypal :p

Code:
         case "buypoints";
                $subtopic = "buypoints";
                $topic = "PayPal";
                include("paypal.php");
        break;

        case "buypoints1";
                $subtopic = "buypoints1";
                $topic = "Buy Points";
                include("buypoints.php");
        break;
When I press shop offer it says
index.php?subtopic=buypoints
How do I change so It shows both buypoints and buypoints 1? :p
 
I'll just explain here for the others wondering...
I'll just start over.

First install it normally with daopay.
Then in index.php after
PHP:
   case "buypoints"; 
        $subtopic = "buypoints"; 
        $topic = "Buy Points"; 
        include("buypoints.php"); 
    break;
add
PHP:
   case "paypal"; 
        $subtopic = "paypal"; 
        $topic = "PayPal"; 
        include("paypal.php"); 
    break;

Then open your buypoints.php and after
Code:
<h3>Send SMS (not for all countries) or call special number to donate and get points.</h3>
On the same line, right after </h3> add
PHP:
<a href="index.php?subtopic=paypal"><h2>Donate with PayPal</h2></a>
And that's it!
Also you might want to change For all users - LINK to Donate with DaoPay on that same line.
 
Last edited:
Hello!

Open buypoints.php.

After:
PHP:
# activation of DaoPay system
$config['daopay'] = array();
$config['daopay_active'] = true; #active daopay system?
Add:
PHP:
# activation of PayPal system
$config['paypal'] = array();
$config['paypal_active'] = true; #active paypal system?

After (line 301~):
PHP:
$main_content .= '<tr><td></td><td><input type="submit" value="Sprawdz" /></td></tr></table></form>';

}
and before:
PHP:
else
{
	if($config['dotpay_active'])
Add:
PHP:
elseif ($_REQUEST['system'] == 'paypal' && $config['paypal_active'])
{
$main_content .= '
<b>Automatic PayPal Donation System.</b><br><br>
The donation costs 3 EUR (incl. VAT).<br>
After the donation you will receive <b>3 points + 2 bonus points (Tot. 5 points)</b> in your account automatically. <br>Because you donate with PayPal / Creditcard you will receive +2 extra bonus points for free.<br><br>

<b>Here are the steps you need to make:</b> <br>
1. You need a valid creditcard <b>or</b> a PayPal account with a required balance [3 EUR]. <br>
2. Fill in your account number. <br>
3. Click on the donate button. <br>
4. Make a transaction on PayPal. <br>
5. After the transaction 5 points will be automatically added to your account. <br>
6. Go to Item shop and use your points <br> <br> <br> </b>



<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="YOUR_LOGIN_PAYPAL_EMAIL">
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="item_name" value="SERVERNAME Donations">
<b>Account number:</b> <input type="text"  name="custom" value="">
<input type="hidden" name="item_number" value="5 Premium Points">
<input type="hidden" name="amount" value="3.0">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="notify_url" value="http://www.YOURADDRESS.com/ipn/ipn.php">
<input type="hidden" name="return" value="http://www.YOURADDRESS.com">
<input type="hidden" name="rm" value="0">
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG_global.gif:NonHosted">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
';
}

And edit the info.

Regards :)
 
Back
Top