• 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!
  • If you're using Gesior 2012 or MyAAC, please review this thread for information about a serious security vulnerability and a fix.

Myaac no points after paypal purchase

almirtibiaalmir

New Member
Joined
Jan 9, 2010
Messages
39
Reaction score
3
Hello everyone,

I have a problem with papyal on myaac.
If i make a purchase the transaction is successful but the points are not added and if i return to the homepage the following error 404 displayed


in the following pictures you see the tables relating to the shop and paypal instant payment. Its the newest gesior-shop-system 2.5 version.

If you need more informations, tell me.

I can't find a solution. Maybe someone can help me..

Regards
Almir
 

Attachments

Stanos

Veteran OT User
Joined
Jun 12, 2018
Messages
541
Reaction score
276
Location
Europe
Code:
apt-get install php5-curl or apt-get install php-curl
And restart apache
Code:
/etc/init.d/apache2 restart
Go to admin panel and make sure curl support is enabled
 

Joriku

Working in the mines, need something?
Joined
Jul 16, 2016
Messages
1,033
Solutions
15
Reaction score
325
Location
Sweden
YouTube
Joriku
curl support ist enabled. Can you explain the above to me in detail, I'm sorry. I haven't been there for years
Are you using cloudflare?
If so, that's the cause of the issue. Their servers sends a cloudflare address over to paypal no matter what options you enable (It's somewhere to solve it) and the paypal IPN service denies the entry since the ip addrress is unvalid. Long story, deep investigated a long time ago by Tao
 

slaw

MyAAC Creator
Premium User
Joined
Aug 27, 2007
Messages
3,481
Solutions
113
Reaction score
918
Location
Germany
GitHub
slawkens
Twitch
PL_Flamaster
In this IPN status code is 200, that means the transaction went succesfully. Are you sure there were no points added from this transaction?

2) second question: do you have any paypal logs in the system/logs directory?
 

slaw

MyAAC Creator
Premium User
Joined
Aug 27, 2007
Messages
3,481
Solutions
113
Reaction score
918
Location
Germany
GitHub
slawkens
Twitch
PL_Flamaster
In system/templates/gesior-shop-system/paypal.html.twig its set to return to your main site: https://your-server.de

Its defined here:
Code:
<input type="hidden" name="return" value="{{ constant('BASE_URL') }}"/>

BASE_URL = https://your-server.de

Maybe you have set this /gift return somewhere in your paypal settings? I am unsure.

You can also enable /gifts without question mark, where you enable friendly_urls in config.php, and also additionally configure you web server to redirect all traffic to index.php

For IIS it might be this module:

But I have no experience with this, so you need to google a bit :p
 
OP
OP
almirtibiaalmir

almirtibiaalmir

New Member
Joined
Jan 9, 2010
Messages
39
Reaction score
3
In system/templates/gesior-shop-system/paypal.html.twig its set to return to your main site: https://your-server.de

Its defined here:
Code:
<input type="hidden" name="return" value="{{ constant('BASE_URL') }}"/>

BASE_URL = https://your-server.de

Maybe you have set this /gift return somewhere in your paypal settings? I am unsure.

You can also enable /gifts without question mark, where you enable friendly_urls in config.php, and also additionally configure you web server to redirect all traffic to index.php

For IIS it might be this module:

But I have no experience with this, so you need to google a bit :p
I've tried a few things without success, if I find a solution I'll write it in here. Thank you guys
 
Top