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

[Modern ACC] Automatic Paypal Script

pwner123

New Member
Joined
Jul 1, 2009
Messages
211
Reaction score
1
screenshot20110125at527.png


I had this on my computer from when I bought it from 5mok3 about a year ago, so I thought I'd might as well release it. Hopefully, someone can find good use of it.

Download Paypal.Script.zip @ UppIT

Setup instructions are inside :) Enjoy!
 
I did exactly what the instructions told me to do and still i'm struggling to get it to work.
Everything works fine except that the points aren't added automatically.

- - - Updated - - -

I've tried with everything, still nothing.
I'm using uni server, if someone could help i would appericiate it very much!
Thanks!
 
bumpy dumpy

- - - Updated - - -

Bump i need help from someone please.
Anybody?
 
Bump i need help from someone please.
Anybody?

Make sure in ipn.php you have the right db info. If not then it wont add it automatic.

Lua:
$mysql_host = 'localhost'; //Leave at localhost  
$mysql_user = 'root'; //DB User  
$mysql_pass = ''; //DB Pass  
$mysql_db = ''; //DB Name  
$file = '../paypal.log'; //Paypal Log Name will be placed in the same location as your ipn.php file

Also line 40~ at:

Lua:
if ($payment_status == "Completed" && $receiver_email == "EMAIL HERE" && isset($paylist[$mc_gross])) {

Make sure you put your paypal email there.

Also in paypal.php at :

Lua:
<input type="hidden" name="business" value="EMAIL HERE">

Same e-mail over there.

Still in paypal.php at:

Lua:
<input type="hidden" name="notify_url" value="http://YOUR WEBSITE/paypal/ipn.php">
<input type="hidden" name="return" value="http://YOUR WEBSITE/">

Put your website adress.
 
Back
Top