VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: sturmy23 on November 26, 2012, 18:58:41 PM

Title: VM 2.0.14 order status still "pending" after paypal payment
Post by: sturmy23 on November 26, 2012, 18:58:41 PM
I set up Paypal as payment method in VM 2.0.14 but after I made checkout and payment thru paypal, order status should be updated in "confirmed" but still shows "pending". How can i Fix it?
Title: Re: VM 2.0.14 order status still "pending" after paypal payment
Post by: dougbuchan on December 11, 2012, 05:43:36 AM
Same issue here. New site with VM 2.0.14 and order payments are received by PayPal but are not being marked as confirmed.
Title: Re: VM 2.0.14 order status still "pending" after paypal payment
Post by: hanuhp on December 18, 2012, 03:12:08 AM
I'm the same issue. Please help me?????
where are VM developers????
Title: Re: VM 2.0.14 order status still "pending" after paypal payment
Post by: HC on December 21, 2012, 07:56:08 AM
I have the same issue, but with Epay. The problem persists through 2.0.14 up to the latest stable release 2.0.16.
The payment is done and money captured, but VM says pending no matter which order status I mark as status for successful payments in the payment module.
Title: Re: VM 2.0.14 order status still "pending" after paypal payment
Post by: Milbo on December 23, 2012, 13:56:58 PM
It works for us with paypal,.. epay, you must ask the guys who wrote epay. But with payapl it works, not perfect for other cases (refund, payment later payed, conflicts and similar)
Title: Re: VM 2.0.14 order status still "pending" after paypal payment
Post by: veeco on December 24, 2012, 14:08:37 PM
Allow me to contribute,
There are things that you guys need to check:
1. Please access from your browser http://yourdomain.com/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component , is it accessible? there can be a problem here if you use 3rd party SEF since some member report that joomla redirect it to 404 when accessing this notification url.

2. Paypal Plugin stored the raw IPN variables in '/log' folder.. please check if the data returned there ?
3. Paypal Plugin also stored the raw IPN variables in '#_virtuemart_payment_plg_paypal' on column paypalresponse_raw

please check the above before dig deeper into other debug scenarios...

Title: Re: VM 2.0.14 order status still "pending" after paypal payment
Post by: stAn99 on December 27, 2012, 18:30:51 PM
Hello, i also agree that most of the paypal issues are caused by your SEF doing a redirect or giving a 404 page for the notification URL. For further information i recommend to check your PayPal IPN history at paypal.com:

History -> IPN History -> Click on the middle column (Message ID) and you shoud see something like:

Notification URL -> copy paste the URL to check if it exists (maybe a https issue?)
HTTP response code - if
200, then it is okay... If anything else (like 500, 404 or 3xx) then you got a problem.
500 (error) can be checked in your php error log (usually a php error which can be also caused by a wrong query to a database),
404 (error) - missing url (either a wrong configured https, or the URL is not reachible from outside world like paypal)
3xx - a redirect by SEF or htaccess

Many hosting providers block $_POST via mod_security. It is hard to check from user point of view, but you may try to ask your hosting provider to temporary disable it for you (btw it causes lot's of issue in joomla)

Best Regards,
Stan
Title: Re: VM 2.0.14 order status still "pending" after paypal payment
Post by: veeco on December 28, 2012, 04:43:16 AM
This thread should be sticky.. or we should move it to FAQ thread in the forum....
My 2 cents