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

Znote Donation Points

D

Deleted 224045

Guest
Hello everyone!

Players don't receive their points when purchasing. It goes to the success page.

Using the newest Znote.

Curl is enabled and all accs are znote compatible.

This happens in `znote_paypal`:
Code:
35L76060UF382435H Connection from IP: 173.0.81.1 0 0 0


config.php
PHP:
$config['paypal'] = array(
        'enabled' => true,
        'email' => '[email protected]', // Example: [email protected]
        'currency' => 'EUR',
        'points_per_currency' => 10, // 1 currency = ? points? [ONLY used to calculate bonuses]
        'success' => "http://".$_SERVER['HTTP_HOST']."/success.php",
        'failed' => "http://".$_SERVER['HTTP_HOST']."/failed.php",
        'ipn' => "http://".$_SERVER['HTTP_HOST']."/ipn.php",
        'showBonus' => false,
    );
 
This IPN code contains additional error logging:
Paypal IPN file with heavy debugging to figure out where we got problems. · GitHub

Try to see if you get something more out of it than "connecting from IP".

I am also working on PayPal Rest API:
Znote AAC Paypal REST API prototype · GitHub

I havent tested it in production, but it seems like @Anakonta got it working.
Thank you for replying.

Code:
string(93) "INSERT INTO `znote_paypal` VALUES ('', '', 'Connection from IP: 84.48.214.71', '0', '0', '0')" 
(query - SQL error) 
Type: voidQuery (voidQuery is used for update, insert or delete from database)

Incorrect integer value: '' for column 'id' at row 1
 
you have to enable ipn at your paypal account (you must have verified it) check some youtube videos and before to ask things that were answered before please use otland search google or youtube.... you wont have succes asking everything that was answered before HERE ... sorry mate but if you're showing yourself as a NEWBY developer you'll never succes, people will see your behavior and wont take you seriusly.....(i had a trouble with this,but it was a real bug, so again please check videos or use oland search,i've saw so many post from you asking things that were already answered :S ) try to do not make the minimal effort if you want to develop something.. seriusly you don't have to be a pro you just have to research a little bit OMG isn't difficult or is it?
PD: a pay to win pvp -enfo server will fail
what im saying sound ugly but im being very sincere im telling you this as a player and like a member otland so dont worry about shop because your ot will last a week if you enable it(shop) maybe two people will waste their $$ on this but youll lost mostly al players maybe 7 with lucky?
regards
@Sorn
 
sorry mate but if you're showing yourself as a NEWBY developer you'll never succes, people will see your behavior and wont take you seriusly....
Based on your arrogant reply I am having a hard time taking you seriously...

So what if the question has been asked before.. there are dozens of threads made every week in support and requests on things which have been answered before, I am sure I can find a healthy amount of threads you created that were answered before... don't throw stones at people when you yourself are living in a glass house.
 
you have to enable ipn at your paypal account (you must have verified it) check some youtube videos and before to ask things that were answered before please use otland search google or youtube.... you wont have succes asking everything that was answered before HERE ... sorry mate but if you're showing yourself as a NEWBY developer you'll never succes, people will see your behavior and wont take you seriusly.....(i had a trouble with this,but it was a real bug, so again please check videos or use oland search,i've saw so many post from you asking things that were already answered :S ) try to do not make the minimal effort if you want to develop something.. seriusly you don't have to be a pro you just have to research a little bit OMG isn't difficult or is it?
PD: a pay to win pvp -enfo server will fail
what im saying sound ugly but im being very sincere im telling you this as a player and like a member otland so dont worry about shop because your ot will last a week if you enable it(shop) maybe two people will waste their $$ on this but youll lost mostly al players maybe 7 with lucky?
regards
@Sorn
If you read the thread you will see it goes to success.php, it wouldn't go there if ipn wasn't enabled. And it's not pay 2 win, you can get everything in-game, donation just speeds up the process.
 
Thank you for replying.

Code:
string(93) "INSERT INTO `znote_paypal` VALUES ('', '', 'Connection from IP: 84.48.214.71', '0', '0', '0')"
(query - SQL error)
Type: voidQuery (voidQuery is used for update, insert or delete from database)

Incorrect integer value: '' for column 'id' at row 1

My bad, code is a bit old. Current mysql versions don't support lazy insert queries. :p
I have updated the gist: Paypal IPN file with heavy debugging to figure out where we got problems. · GitHub
 
@Znote I will send a PR with my working REST API code. Hopefully people can use it.

*mind that it will only work with paypal business accounts.

Kindest Regards,
Okke
 
Back
Top