Support

Admin Tools

#35181 PSP reports 403 error, how to make exeption

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 baroen on Thursday, 06 May 2021 01:34 CDT

baroen

My Payment Service Provider is having trouble exchanging the payment status with my site.
They get a 403 error accessing /index.php?option=com_virtuemart&view=pluginresponse&format=raw&task=pluginnotification&tmpl=component&lang=nl-NL

I am not sure that Admin Tools is blocking this, but just to be sure: what is the best way to make sure Admin Tools allows this traffic?
Add something to .htaccess (I have a list of IP addresses they connect from)
Or mabe better through a WAF Exception (how do I enter the URL as Exception correctly?)

tampe125
Akeeba Staff

Hello,

can you please take a look at the Blocked Requests Log and check what's the reason for the block? In this way we can understand which exception we have to create.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

baroen

The URL, nor the IP addresses are listed in the Blocked Request Log.

On the same hosting server, I run 2 other webshops, with the same PSP, those site do not have this problem. Therefor I rule out the servers firewall.

I also checked the apache logs for this URL, but that does not occur.

tampe125
Akeeba Staff

If the URL is inside the Blocked Request Log, there should be a reason.

However, we can simply play safe and add a WAF Exception for that URL: https://www.akeeba.com/documentation/admin-tools/wafexceptions.html

I'd suggest to add the following values:

component: com_virtuemart
view: pluginresponse

Maybe it's a bit too broad, but in this way you'll be sure your payments will get through. If you want we can spend more time on debugging what's the real cause triggering the protection, but that should be ok.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

baroen

The problem was in modsecurity. There was a rule that blocked this traffic.

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!