• 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!

Sandbox

aylerni

New Member
Joined
Jun 6, 2012
Messages
14
Reaction score
0
I'm trying to get paypal sandbox to work with donate script, though it doesnt add points, here's config:

paypal.htm
Code:
<input type="hidden" name="business" value="[email protected]">
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="notify_url" value="http://MyNoIPaddressThatIsSecret/paypal/ipn/ipn.php">
<input type="hidden" name="return" value="http://MyNoIPaddressThatIsSecret/">

ipn.php
Code:
----------> found this code in google stackoverflow: $verify_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_notify-validate&' . http_build_query( $_POST );   

if( !strstr( file_get_contents( $verify_url ), 'VERIFIED' ) ) return false;

    $mysql = new mysqli('localhost', 'root', 'SECRET', 'secretDatabaseName');
    $receiver = '[email protected]';

Help appreciated, thanks.
 
Back
Top