News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

PayPal - order complete status always PENDING

Started by jhdesign, April 10, 2013, 16:30:53 PM

Previous topic - Next topic

jhdesign

Using Joomla 2.5.9 and VM2.0.20b

Tested with Live and Sandbox mode, payment is completed and user returns to site.

VM2 does not seem to change the status to "Confirmed" it is always "Pending"

Is this a bug?

K&K media production

what are your settings? i have no issue with 2.0.20b

jhdesign

#2
PayPal "Return to shop" settings?

Order Status for Pending transactions: Pending
Order Status for Successful transactions: Confirmed
Order Status for Failed transactions: Cancelled

I did enable logging and here's what it shows:

cmd=_notify-validate&mc_gross=10.39&invoice=cd2c012&protection_eligibility=Ineligible&address_status=confirmed&payer_id=Y792ANYMYBASQ&tax=0.00&address_street=1+Main+St&payment_date=07%3A26%3A59+Apr+10%2C+2013+PDT&payment_status=Pending&charset=windows-1252&address_zip=95131&first_name=jacob&address_country_code=US&address_name=jacob+h&notify_version=3.7&custom=2tt400gaa62lad5k0gh7csbv91&payer_status=verified&business=jhdesign%40gmail.com&address_country=United+States&address_city=San+Jose&quantity=1&verify_sign=AFSC1EKFsvekKjAlpX.TMAfnBrCXA8xBgWOBgDVXeS750HCt2AYnheeP&payer_email=jhdesign_pay%40gmail.com&txn_id=19P82525UK985325Y&payment_type=instant&last_name=h&address_state=CA&receiver_email=REMOVED_FOR_POST&pending_reason=unilateral&txn_type=web_accept&item_name=Order+Number%3A+cd2c012&mc_currency=CAD&item_number=&residence_country=US&test_ipn=1&handling_amount=0.00&transaction_subject=2tt400gaa62lad5k0gh7csbv91&payment_gross=&shipping=0.00&ipn_track_id=2b4625ce6574a

Pending reason is returning: pending_reason=unilateral&

This is in sandbox mode.

And on live mode it does not show a pending reason, however I do not see any log entry to update the  status, however in sandbox when it supposedly returns pending it does this:

message: plgVmOnPaymentNotification return new_status:P

So what is happening is its not seeing new_status to C on live PayPal testing.

jhdesign

Tested on a clean J2.5.9 install and VM 2.0.20b install, same result.

On this site, user never got a return link from PayPal to the site.

[attachment cleanup by admin]

thanili

Got the same problem....

How did you enable logging?

sickenlysweete

same problem, suggestions on what settings i need and where to get this to work?
also can i get this to work on a free product? if so how?

Maxim Pishnyak

Use latest VM paypal plugin.
Follow instructions in sticked thread.
Check errors in logs.
Communicate with the paypal support - they could help too.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

sickenlysweete

ok i have the same problem....
forum mod where can i get the latest plugin you mentioned??

Maxim Pishnyak

http://virtuemart.net
Find block "Try it Yourself"->
com_virtuemart.2.0.22a_extract_first.zip->
com_virtuemart.2.0.22a_ext_aio.zip

com_virtuemart.2.0.22a_ext_aio.zip - this will install paypal plugin and other modules and plugins

By the way here list of all stable versions of VM2 (from old to newest)
https://dev.virtuemart.net/projects/virtuemart/files

Virtuemart files for Virtuemart Developer Team here in SVN place
https://dev.virtuemart.net/projects/virtuemart/repository/show/trunk/virtuemart/plugins/vmpayment/paypal
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

sickenlysweete

Note: problem solved, edit the paypal php and make sure the correct url addy for the reply is there.
mine was not, it was missing a subfolder



avdfmedia

Just a tip for anyone who still experiences this.
The order status also will NOT update to 'Confirmed' from 'Pending' if you are working on a site which has been password-protected. The site i was working on was on a cpanel hosting and i had pass-protected the whole public_html folder until it was ready. As soon as  I removed the password, Virtuemart was updating the order statuses to 'Confirmed' as it should.

stinga

Have you enabled IPN in PayPal and what does the IPN log in PayPal say?
Stinga.
614869 products in 747 categories with 15749 products in 1 category.
                                             Document Complete   Fully Loaded
                Load Time First Byte Start Render   Time      Requests      Time      Requests
First View     2.470s     0.635s     1.276s          2.470s       31            2.470s      31
Repeat View  1.064s     0.561s     1.100s          1.064s       4             1.221s       4