Page 1 of 1

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

PostPosted: Thu Nov 22, 2018 2:59 pm
by minh.ta@.....com
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

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

PostPosted: Wed Nov 28, 2018 1:28 pm
by admin
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