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

Paypal IPN issue with Znote

Vapous

New Member
Joined
Jul 9, 2008
Messages
114
Reaction score
3
Location
England
Hi guys, I am using nostalrius 7.72

everything is working smoothly now apart from the shop system. When my friend buys points on papyal he doesn't receive the points until i manually accept funds.

I changed the IPN setting on paypal to this

Lua:
http://86.131.130.130/ipn.php

In the Config for znote its left as

Lua:
        'success' => "http://".$_SERVER['HTTP_HOST']."/success.php",
        'failed' => "http://".$_SERVER['HTTP_HOST']."/failed.php",
        'ipn' => "http://".$_SERVER['HTTP_HOST']."/ipn.php",

probably something simple?

thanks guys
 
first, are you using sandbox?
check your webservice (apache/nginx) log to see what's happening and if PayPal is sending post message
I have no idea if I'm using sandbox. I use uniformserver i checked the logs, no errors with paypal that i can see...
 
Last edited:
i'm not talking about errors, have you saw if paypal is trying to communicate with you server on /ipn.php?
sandbox is a development enviroment, check your config.php if it is enabled
 
i'm not talking about errors, have you saw if paypal is trying to communicate with you server on /ipn.php?
sandbox is a development enviroment, check your config.php if it is enabled

Thanks for the reply mate,

I checked its not in sandbox mode. Also no I cannot see that PayPal is communicating with it at all.
 
Lua:
        'success' => "http://".$_SERVER['HTTP_HOST']."/success.php",
        'failed' => "http://".$_SERVER['HTTP_HOST']."/failed.php",
        'ipn' => "http://".$_SERVER['HTTP_HOST']."/ipn.php",

Change to
Lua:
'success' => "http://86.131.130.130/success.php",
'failed' => "http://86.131.130.130/failed.php",
'ipn' => "http://86.131.130.130/ipn.php"

Also, it's better create a DNS for it ;)
 
Change to
Lua:
'success' => "http://86.131.130.130/success.php",
'failed' => "http://86.131.130.130/failed.php",
'ipn' => "http://86.131.130.130/ipn.php"

Also, it's better create a DNS for it ;)

Hey man,

I actually tried it this way too and it didn't work either.

I also have a dns and tried it both ways.
 
Hey man,

I actually tried it this way too and it didn't work either.

I also have a dns and tried it both ways.

if you don't see paypal communication on your webservice log, the problem is outside php script, so, maybe your firewall (netfilter / iptables / DC panel FW) is blocking their connection, or maybe your IPN is not set correctly at paypal panel (most common)
 
if you don't see paypal communication on your webservice log, the problem is outside php script, so, maybe your firewall (netfilter / iptables / DC panel FW) is blocking their connection, or maybe your IPN is not set correctly at paypal panel (most common)

yeah I feel like im putting the wrong thing in the ipn settings on PayPal. But not sure what it’s meant to be
 
There's a table called znote_paypalin your SQL database, check it for logs/errors

Ah hey bro !

yeah the table has 4 entry’s in it but no errors of any kind the entries give me little information tho. Wants me to show on here?
Post automatically merged:

This is in my Znote_paypal

As you can see where my friend made payments, i accepted them manually tho. Not sure what the other connections are from?

payp.PNG
Post automatically merged:

UPDATE. Issue fixed.

I had my config set up to recieve EUR but it needed to be GBP because that is my PayPal currency. PayPal wouldn't automatically accept funds in another currency.

Cheers for trying though guys.
 
Last edited:
It's most likely a Cloudflare (or similar service) messing with the IP's of the requests received.

You will have to set your web service so it assumes the address not based on the request IP, but the request content, that is being added by the proxy service (Cloudflare or such).

@edit
Damn, I missed your edit.
Glad it worked for you!
 
It's most likely a Cloudflare (or similar service) messing with the IP's of the requests received.

You will have to set your web service so it assumes the address not based on the request IP, but the request content, that is being added by the proxy service (Cloudflare or such).

@edit
Damn, I missed your edit.
Glad it worked for you!

thought that but he was using numeric IP without cloudflare DNS
@Vapous you read wrong log, you said that Paypal wasn't communicating to your webserver xD
happy thats fixed, cya
 
Back
Top