I want to test virtuemart shopping cart with paypal sandbox. But it is giving me following error message:
QuoteBad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.
I have already read the
Topic: PayPal explained [UPDATED for VirtueMart] and changed
$url= "https://www.sandbox.paypal.com/cgi-bin/webscr";What could be the possible reason?
Change the logo size in your Virtuemart site. I had the same problem...minimized my logo to 170 x 82 px and the flag went away...now its dealing with all the other issues...like not getting past the final step of "pay"...getting redirected to a faulty URL.
Any ideas?
Exclude the logo from being sent to paypal altogether, it will cause issues later!
//"image_url" => $vendor_image_url,
and change the URL to
$url = "https://www.sandbox.paypal.com/cgi-bin/webscr";
Hope this saves you time and effort!