VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: sneezygrumpy on March 09, 2010, 20:53:18 PM

Title: Virtuemart with sandbox
Post by: sneezygrumpy on March 09, 2010, 20:53:18 PM
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?
Title: Re: Virtuemart with sandbox
Post by: evanw on September 01, 2010, 23:00:46 PM
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?
Title: Re: Virtuemart with sandbox
Post by: AH on September 03, 2010, 16:57:37 PM
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!