Hello,
I know this has been asked before but I just can't figure it out, I followed every step from the video Znote made in this thread:
https://otland.net/threads/video-tu...ing-ot-server-website-and-shop-system.166818/
The problem is when someone buys points on my server with paypal, the money will transfer to my paypal account but the player doesn't receive points. Even when my site shows the payment was succesfull.
I use Znote AAC version 1.5 and theforgottenserver-v1.1 with windows 8.1.
This is my config.php setup:
Also I enabled Znote's External Open Tibia Services Server in my config.php:
And created an IPN on paypal for my website:
Furthermore if i go to my database table "Znote_paypal" it returned an empty result:
If I add points manually with the admin page it works perfect.
If you need extra info I'll be pleased to post it too.
I hope someone takes the time to look into this problem.
Thanks in advance,
Jonas
I know this has been asked before but I just can't figure it out, I followed every step from the video Znote made in this thread:
https://otland.net/threads/video-tu...ing-ot-server-website-and-shop-system.166818/
The problem is when someone buys points on my server with paypal, the money will transfer to my paypal account but the player doesn't receive points. Even when my site shows the payment was succesfull.
I use Znote AAC version 1.5 and theforgottenserver-v1.1 with windows 8.1.
This is my config.php setup:
Code:
//////////////
/// PAYPAL ///
//////////////
// Write your paypal address here, and what currency you want to recieve money in.
$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' => true,
);
// Configure the "buy now" buttons prices, first write price, then how many points you get.
// Giving some bonus points for higher donations will tempt users to donate more.
$config['paypal_prices'] = array(
// price => points,
1 => 10, // 0% bonus
10 => 105, // +5% bonus
15 => 165, // +10% bonus
20 => 240, // +20% bonus
25 => 325, // +30% bonus
30 => 420, // +40% bonus
);
Also I enabled Znote's External Open Tibia Services Server in my config.php:
Code:
// Use Znote's External Open Tibia Services Server
// Currently in Alpha and is pretty useless, but will contain paypal blacklist etc in future.
// You can use the official server: http://zeotss.znote.eu/
// Or host your own private one, here is the code: https://github.com/Znote/ZEOTSS
$config['zeotss'] = array(
'enabled' => true,
'visitors' => true,
'debug' => false,
'server' => "http://zeotss.znote.eu/"
);
And created an IPN on paypal for my website:
Furthermore if i go to my database table "Znote_paypal" it returned an empty result:
If I add points manually with the admin page it works perfect.
If you need extra info I'll be pleased to post it too.
I hope someone takes the time to look into this problem.
Thanks in advance,
Jonas