Paypal Http Error 431

Hi all,

I've got an installation of cscart 4.11.3 with the builtin paypal module.

Our customers are experiencig issue with paypal payment only with orders with a lot products (this don't happens with orders with few products).

In case of big orders when the customer choose to pay with paypal method, once redirected on the paypal site it receive the error http 431 and they are unable to complete the payment

You can see it from the attached file.

Anyone had this problem ? Any ideas on how troubleshoot it ?

Thanks to everyone for the help

Hello

Please try increase max_input_vars in php.ini file

Best regards

Robert

Hello,

I have increased the max_input_vars to 15000 in php.ini but the problem still persists, is this enough ?

Do you have any other ideas ?

Thanks for the help!!!!

Hello

Set up on 100 000 and check.

Best regards

Robert

You can see it from the attached file.

Please re-attach the file

Hello,

I have set 100 000 max_input_vars I will check if the problem happens again.

I have re attached the file, the error 431is displayed when the customer lands on the paypal site.

Thanks for the support

paypal-error-jpg.jpg

431 error means "Request header fields too large". It is required to examine why CS-Cart creates such a big request. Examination should be done on your server directly.

Hi all,

unfortunally the problem still persists, even with the 100 000 max_input_vars

I don't have any clue on how to troubleshoot the issue, we have performed a log inspection, bu we didn't find any error.

Thanks for the help

unfortunally the problem still persists, even with the 100 000 max_input_vars

PayPal server marks your request as too large, not your one.

You should check why your store sends so much data