VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: tubaad on August 16, 2009, 23:27:34 PM

Title: Solution: Paypal payments not stored as confirmed
Post by: tubaad on August 16, 2009, 23:27:34 PM
Having problems with paid orders at paypal not being stored as confirmed, but remain Pending?

Try this:

In >admin>Store>List Payment Methods>Paypal

Remove this line in the Payment Extra Info:

"test_ipn" => PAYPAL_DEBUG,

After COUNTLESS hours of testing different solutions that did it for me.

And while you are there, fix this line if you are using multiple currencies:
"currency_code" => $_SESSION['vendor_currency'],
should be:
"currency_code" => $_SESSION['product_currency'],

I have seen so many attempts to solve this and other silly bugs in Virtuemart. Most of them posted by people like me, novices with a desperate need to make their shop work, spending hours and hours reading other novices posts testing suggested solutions.
I can understand that the support is poor on a free product, but someone: Learn Virtuemart top to bottom, figure out the bugs, start a business and earn bucks on us! I'd gladly pay for this kind of info rather than spending days fumbling in the dark.
Title: Re: Solution: Paypal payments not stored as confirmed
Post by: tvigar on October 30, 2010, 07:03:00 AM
Thanks for the tips, for multiple currencies, one can also use:


"currency_code" => $db->f("order_currency"),


Still haven't been able to fix the paypal return from pending to confirmed - still staying pending...

:(