Support

Admin Tools

#25401 Callback to Virtuemart failed

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 Willard1975 on Friday, 17 June 2016 05:37 CDT

Willard1975
Hello

When a customer places an order and pays through our gateway i receive an email that the callback failed to:

index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification

with a 403 forbidden error. I know why it does it but i thought that adding:

RewriteRule ^components\/com_virtuemart/ - [L]

to my htaccess file would solve it. Do you know what file i need to allow direct access to in order for it to work?

/Michael

tampe125
Akeeba Staff
Hello Micheal,

Can you please take a look at the Security exception log? Is there anything logged? If so, most likely you have to create a WAF exception.

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!

Willard1975
Hi

I got an email today about callback failed when an order was placed but there is nothing in the security exception log for today.

/Michael

tampe125
Akeeba Staff
Try with the WAF exceptions, it should fix the problem.
If you still get the same issue, try to completely disable CSRF/Anti-spam form protection (CSRFShield) inside WAF configuration page.

Moreover, can you please try to check your Htaccess Maker page? Are you blocking specific user-agents, too? If so, can you please try to disable it?

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!

Willard1975
Ok so i've added a WAF exception like this:

Component: com_virtuemart
View: pluginresponse
Query parameter: pluginnotification

I assume that would fix it but i can't tell until someone places an order :) With this i should also be able to remove the line in htaccess that allows full access to VM?

I don't use the htaccess maker. I took the master file from Git that Nicholas has made and adjusted it for my needs.

/Michael

tampe125
Akeeba Staff
I'd suggest you to remove the Query parameter, so you'll be sure you won't block any further notification.
FYI, Htaccess Maker is just a very improved version of the Git version you are using: it comes with further features and a simple GUI to manage them all.

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!

Willard1975
Ok i removed the query parameter.

There are alot of entries in my htaccess that have been added by other components like jch_optimize. I've also had to add CORS for some javascripts to work properly. Atm i score 99/99 on Gtmetrix so i don't want to mess with it.

I'll close this ticket and hope Virtuemart works now :)

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!