On checkout page there is 402 (Payment Required) in console.

If you are runnig Joomla 3.x and Virtuemart 3.x please post to this forum your questions or support tickets about One Page Checkout

On checkout page there is 402 (Payment Required) in console.

Postby minh.ta@.....com » Thu Nov 22, 2018 2:59 pm

Hi there,

I am using joomla Joomla! 3.7.2, virtuemart VirtueMart 3.2.2 and RuposTel opc version 2.0.337.180417.

In components -> onepage checkout -> shipping tab, if Do not use AJAX is disabled(unchecked) then on checkout page there is 402 (Payment Required) in console. because of this error shipping rules are not listing out there. Please help me as soon as possible.

Thanks
minh.ta@.....com
 
Posts: 2
Joined: Tue Mar 21, 2017 3:04 am

Re: On checkout page there is 402 (Payment Required) in console.

Postby admin » Wed Nov 28, 2018 1:28 pm

hello, this is caused by "mod_security" as it most probably do not like "credit card" text within your payment methods. (there could be other html/strings that trigger mod_security error)

to further investigate see "mod_security" error log to see which rule was broken and why it gave this error. we try to keep our OPC compliant with latest OWASP specifications, but sometimes specific strings can trigger this error.

another solutino is to "disable payment html refresh" so that payment data are not sent via ajax to opc (note that payment won't refresh upon change of address and thus it must not use any sort of restrictions or dynamic calculations per order total or similar)

let us know about this at info@rupostel.com

best regards, stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 3 on Joomla 3.x