Support

Admin Tools

#24744 Paypal notification not accepted.

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by UWiX on Wednesday, 23 March 2016 03:09 CDT

UWiX
 I've been struggeling with the PayPal payment verification on our website when using Akeeba Subscriptions in combination with AdminTools.

I know there is now support for the Subscriptions component but I've come to the conclusion something is wrong with our AdminTools configuration or at least something is blocked by it.

The following I've already done and noticed:

- When setting our website offline using the "Emergency Offline" button and adding all paypal ip addresses manually to access our site in the .htaccess file (for testing), everything works fine. Atleast using the sandbox option(s).

- I've also asked our hosting provider to add all paypal ip addresses to the whitelist of the server firewall (just in case).

- The option "Disable PHP Easter eggs" is disabled and "direct file inclusion protection" is also disabled according the rules stated by the documentation.

- The log file which is normally created in the "logs" folder for the subscriptions component does not add any log exceptions anymore (it did before with the exception "The referenced subscription ID ("custom" field) is invalid").

- The admintools exception log shows me - around the time a certain user bought a subscription - a "MUA Shield" exception. The IP address blocked there seems to be from the company which just bought a subscription.

What can I do to be sure all notifications from PayPal are received correctly on our site so a subscription get's activated automaticly? Are there any steps I'm missing or any .htaccess rules (created automaticly by AdminTools by-the-way) I should remove or add?

Your help would be appreciated, thank you in advance.
--- www.uwix.nl ---

nicholas
Akeeba Staff
Manager
Do remember that we are also using Akeeba Subs, PayPal and Admin Tools on our site. You do NOT have a problem with Admin Tools. You have a problem with PayPal. Quick reply just because I had to do this today but do note that any other Akeeba Subs related tickets will be closed without a reply.

My profile, My selling tools, Instant payment notifications, Choose IPN settings
Set URL https://www.example.com/index.php?option=com_akeebasubs&view=Callback&paymentmethod=paypal (use your domain name, not example.com!)

​AND THEN the super duper extra hidden option you must change:

My profile, My selling tools, LOOK ALL THE WAY DOWN TO THE GRAY AREA THAT LOOKS LIKE A FOOTER PayPal button language encoding, More Options, "Do you want to use the same encoding for data sent from PayPal to you (e.g., IPN, downloadable logs, emails)?", "No, use:", "UTF-8"

If you don't set that absurdly hidden option PayPal uses Windows-1252 encoding which –you guessed it– corrupts the data (Joomla! if full utf-8 since 1.5.0!) if the name, surname or any other field contain non-ASCII characters (e.g. ü, ö, ø, æ etc). In this case PayPal reports the IPN as fraud. Wasted an hour of my life today to find out what the heck is going on.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

UWiX
First of all thank you for the hint on the UTF-8 PayPal settings - that's something...

And my apologies for making the suggestion of asking support for Subscriptions. My question could have been more global, like "how to be sure no callbacks are blocked by AdminTools (if that is the case)".

I'll close the ticket since I can remove the AdminTools from my "is-this-the-problem" list. Thank you again!
--- www.uwix.nl ---

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!