VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: Gary on August 10, 2009, 17:16:42 PM

Title: Orders paid by Paypal are NOT changing to confirmed :(
Post by: Gary on August 10, 2009, 17:16:42 PM
Hi all,

Recently this problem has cropped up and its a REAL problem for us.

When someone pays via paypal, the order stays on the system as pending.

We use the built in Paypal Module and a Paypal Pro Module for Credit Cards. It only seems to be the normal paypal module giving us this problem.

Can anyone chip in on this and sooth my headache?

Many Thanks

Gary
Title: Re: Orders paid by Paypal are NOT changing to confirmed :(
Post by: Gary on August 11, 2009, 11:32:23 AM
Anyone?
Title: Re: Orders paid by Paypal are NOT changing to confirmed :(
Post by: ralphonz on August 11, 2009, 13:33:12 PM
I too would like to know why this is and always has been the case for us as well?

I think it has to do with the paypal IPN - try using the IPN simulator under 'test tools' in the paypal sandbox, see what result you get. The URL to send the IPN to is http://www.your-site.com/administrator/components/com_virtuemart/notify.php  which must be writable.

My IPN seems to reach the site fine but never changes the order status?

Anyone??
Title: Re: Orders paid by Paypal are NOT changing to confirmed :(
Post by: groovepacks on August 11, 2009, 16:03:34 PM
I have got the same problem. Even though i get the payment confirmation message from Paypal, the status does not change from pending to confirmed.
I am really not a power user so any help would be great!
Title: Re: Orders paid by Paypal are NOT changing to confirmed :(
Post by: murasakik on August 12, 2009, 04:19:03 AM
the same problem here  :-\

the transaction by paypal is completed but the order status remains "Pending"...

I have tried the method of previous post but it doesn't work.
anyone can fix this problem ???


p.s. using paypal sandbox is perfectly fine for me.
Title: Re: Orders paid by Paypal are NOT changing to confirmed :(
Post by: groovepacks on August 12, 2009, 16:59:09 PM
In my case, i didn't have a return link set up on Paypal's IPN settings (nor was IPN active).
I have now set that up, so hopefully this issue will be solved now... gotta wait for the next sell and see.

Now if only my downloads timing out in the middle problem was gone too, i'd be a happy man.  ???
Title: Re: Orders paid by Paypal are NOT changing to confirmed :(
Post by: ralphonz on August 14, 2009, 14:55:08 PM
Hi,

If any one is still having this problem then i will share with you how i just got mine working on my site http://www.sonic-rites.com (http://www.sonic-rites.com)

The solution I used also suppresses purchase order emails from going out BEFORE the order is completed on Paypal, using the b-planet patch found here - http://www.b-planet.com/VirtueMart/paypal-patch.html (http://www.b-planet.com/VirtueMart/paypal-patch.html)

At first this didn't work for me but following a long process I removed the lines
// load Joomla Language File
    if (file_exists( $mosConfig_absolute_path. '/language/'.$mosConfig_lang.'.php' )) {
        require_once( $mosConfig_absolute_path. '/language/'.$mosConfig_lang.'.php' );
    }
    elseif (file_exists( $mosConfig_absolute_path. '/language/english.php' )) {   
        require_once( $mosConfig_absolute_path. '/language/english.php' );
    }

from the notify_gen_transaction.php (installed with the patch)

I noticed that these lines also exist in the standard notify.php, so if you don't want to try the patch you could try altering notify.php and see if that works.

Here is some further reading:

http://forum.virtuemart.net/index.php?topic=39534.75 (http://forum.virtuemart.net/index.php?topic=39534.75)
http://forum.b-planet.com/viewtopic.php?f=4&t=7&p=28#p28  (http://forum.b-planet.com/viewtopic.php?f=4&t=7&p=28#p28)

Hope this helps!
Title: Re: Orders paid by Paypal are NOT changing to confirmed :(
Post by: groovepacks on August 14, 2009, 15:13:35 PM
Thanks for the help, as i'm still having troubles.
I'm in contact with Paypal's support, they advised me to run some tests, if that doesn't work i'm gonna try your way.

Cheers!
Title: Re: Orders paid by Paypal are NOT changing to confirmed :(
Post by: tubaad on August 17, 2009, 16:54:28 PM
In addition to the above, try this:
In >admin>Store>List Payment Methods>Paypal
Remove this line in the Payment Extra Info:
"test_ipn" => PAYPAL_DEBUG,
Title: Re: Orders paid by Paypal are NOT changing to confirmed :(
Post by: Maxmmize on August 19, 2009, 17:09:21 PM
I fyou are using PayPal Pro you can get the one that works for PayPal Pro US, UK and CA here:

http://myjoomlaextensions.com (http://myjoomlaextensions.com)
Title: Re: Orders paid by Paypal are NOT changing to confirmed :(
Post by: Halo on September 27, 2009, 14:04:52 PM
Hi,

I'm using J1.5.14, VM 1.1.3.

I confirm that the usage of patch form b-panet does work on me. The confirmation status is now functioning after each successful payment. I've run live payment and it work well..

In addition, I add this to my .htaccess:
RewriteRule ^(checkout.result.php) - [L]

Then remove:
"test_ipn" => PAYPAL_DEBUG

Thanks for the patch and it's great that the payment status is changeable to Confirmed!
Title: Re: Orders paid by Paypal are NOT changing to confirmed :(
Post by: Maxmmize on November 17, 2009, 22:28:40 PM
myjoomlaextensions.com has a working paypal pro ca and a working paypal pro UK and paypal pro us