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 not changing status to confirmed

Started by DarkeEdge, November 25, 2008, 03:15:03 AM

Previous topic - Next topic

Vitriol

Hi there,

Same problem - many tests (pratically all of them) and nothing.

Joomla 1.5.15
VM 1.1.4

Thnaks in advance,

V.

spyderwoman

#61
We are having the same problem. Any solutions to this yet?
I am actually running the same version of Joomla and the same version of VM on two different sites on the same server, both set up the same (only different paypal accounts) and one works and the other does not.
Very strange....

stinga

PayPal or PayPal Pro, there is a difference.
I use PayPal and the IPN works, you can login to your PP account and have a look at the IPN log so you can see what PP has tried to do.
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

MikeUK

Quote from: spyderwoman on May 13, 2010, 03:59:59 AM
We are having the same problem. Any solutions to this yet?
I am actually running the same version of Joomla and the same version of VM on two different sites on the same server, both set up the same (only different paypal accounts) and one works and the other does not.
Very strange....

spyderwoman, I would say that it is probably not the same problem as the poster before. In your case, it would seem to show that the Paypal account is making the difference, not VM.

You are in a fairly unique position as 1) you can compare the two paypal accounts closely, 2) you may be able to provide some very useful feedback here regarding the setup of the accounts.

Certainly, when I last worked with Paypal, the setup of the account made a difference. I don't remember the specifics of it though as it was a long time ago.
Get answers faster:
    [li]
Search forum. You might find answer[/li]
[li]Use existing threads. Keep Q + A consolidated[/li]
[li]Troubleshooting? See http://forum.virtuemart.net/index.php?topic=60033.0[/li]
[li]For admin user manual - http://virtuemart.net/documentation/User_Manual/index.html[/li]
[li]For coding (developer manual) - http://virtuemart.net/documentation/Developer_Manual/index.html[/li][/list]

I can build your online shop, setup or customize Virtuemart or help your existing shop maximize its potential. Email / PM for info

spyderwoman

You are absolutely right! It was not a VM thing but the one account didnt have the notify turned on or the return url set in paypal. A complete oversight on my side. I hope everyone else's issues are solved. Thanks for the help!

stinga

You should not need to set the return address in PayPal since VM sends it to PayPal.
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

spyderwoman

That is what I thought but my status was not being updated so I thought IPN had to be turned on...

spyderwoman

#67
I have multiple projects I am working on now where the order status is not being updated.
All three are Joomla 1.5 and VM 1.1.4

stinga

It could mean the data you are sending to PP is incorrect.
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

spyderwoman

Thanks Stinga, can you clarify what can be wrong. The only information sent is that for the order using the paypal username. Am I missing something?

stinga

If you change the paypal url to http://www.recovery-cd-disk.com/cgi-bin/data_dump.pl it will display all the data that is sent to paypal, we can then pull that to bits.
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

spyderwoman


stinga

In your extra info page thee is a url that points to PP, change that. Or search for data_dump.pl on this forum and see what others have done.
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

spyderwoman

wow, cool. Here is the information dump. I have only XXXed out personal information

QuoteInformation passed to this script

Environment

SCRIPT_NAME=/cgi-bin/data_dump.pl
SERVER_NAME=www.recovery-cd-disk.com
HTTP_REFERER=http://preciouspetalsdesigns.com/index.php?page=checkout.index&payment_method_id=4&ship_to_info_id=bc6765501054da59306350ea50d73880&shipping_rate_id=&checkout_stage=4&option=com_virtuemart&Itemid=3
SERVER_ADMIN=domain@squangle.net
HTTP_ACCEPT_ENCODING=gzip,deflate,sdch
HTTP_CONNECTION=keep-alive
REQUEST_METHOD=GET
HTTP_ACCEPT=application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
SCRIPT_URI=http://www.recovery-cd-disk.com/cgi-bin/data_dump.pl
SCRIPT_FILENAME=/home/www/recovery-cd-disk.com/cgi-bin/data_dump.pl
SERVER_SOFTWARE=Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.3 with Suhosin-Patch proxy_html/3.1.2 mod_perl/2.0.4 Perl/v5.10.0
HTTP_ACCEPT_CHARSET=ISO-8859-1,utf-8;q=0.7,*;q=0.3
QUERY_STRING=cmd=_ext-enter&redirect_cmd=_xclick&upload=1&business=dkjaxn%40yahoo.com&receiver_email=xxxx%40yahoo.com&item_name=Order+Number%3A+6&order_id=6&invoice=55_1590e9e1b521b8048cc42cef06087&amount=106.75&shipping=0.00&currency_code=USD&address_override=1&first_name=xxxx&last_name=xxxx&address1=5448+xxxx+peakway&address2=&zip=xxxx&city=Apex&state=NC&country=US&email=xxxx.xxxx%40xxxx.com&night_phone_b=xxxx&cpp_header_image=http%3A%2F%2Fpreciouspetalsdesigns.com%2Fcomponents%2Fcom_virtuemart%2Fshop_image%2Fvendor%2FPrecious_Petals_4b8f0aa643750.png&return=http%3A%2F%2Fpreciouspetalsdesigns.com%2Findex.php%3Foption%3Dcom_virtuemart%26page%3Dcheckout.result%26order_id%3D6&notify_url=http%3A%2F%2Fpreciouspetalsdesigns.com%2Fadministrator%2Fcomponents%2Fcom_virtuemart%2Fnotify.php&cancel_return=http%3A%2F%2Fpreciouspetalsdesigns.com%2Findex.php&undefined_quantity=0&test_ipn=1&pal=NRUBJXESJTY24&no_shipping=1&no_note=1&
REMOTE_PORT=49230
HTTP_USER_AGENT=Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
SERVER_PORT=80
SERVER_SIGNATURE=
Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.3 with Suhosin-Patch proxy_html/3.1.2 mod_perl/2.0.4 Perl/v5.10.0 Server at www.recovery-cd-disk.com Port 80


HTTP_CACHE_CONTROL=max-age=0
HTTP_ACCEPT_LANGUAGE=en-US,en;q=0.8
REMOTE_ADDR=72.148.40.47
SERVER_PROTOCOL=HTTP/1.1
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REQUEST_URI=/cgi-bin/data_dump.pl?cmd=_ext-enter&redirect_cmd=_xclick&upload=1&business=dkjaxn%40yahoo.com&receiver_email=dkjaxn%40yahoo.com&item_name=Order+Number%3A+6&order_id=6&invoice=55_1590e9e1b521b8048cc42cef06087&amount=106.75&shipping=0.00&currency_code=USD&address_override=1&first_name=xxx&last_name=xxx&address1=5448+xxx+peakway&address2=&zip=xxx&city=Apex&state=NC&country=US&email=xxx.xxx%40xxx.com&night_phone_b=9196108532&cpp_header_image=http%3A%2F%2Fpreciouspetalsdesigns.com%2Fcomponents%2Fcom_virtuemart%2Fshop_image%2Fvendor%2FPrecious_Petals_4b8f0aa643750.png&return=http%3A%2F%2Fpreciouspetalsdesigns.com%2Findex.php%3Foption%3Dcom_virtuemart%26page%3Dcheckout.result%26order_id%3D6&notify_url=http%3A%2F%2Fpreciouspetalsdesigns.com%2Fadministrator%2Fcomponents%2Fcom_virtuemart%2Fnotify.php&cancel_return=http%3A%2F%2Fpreciouspetalsdesigns.com%2Findex.php&undefined_quantity=0&test_ipn=1&pal=NRUBJXESJTY24&no_shipping=1&no_note=1&
GATEWAY_INTERFACE=CGI/1.1
SERVER_ADDR=91.197.33.52
HTTP_AUTHORIZATION=
SCRIPT_URL=/cgi-bin/data_dump.pl
DOCUMENT_ROOT=/home/www/recovery-cd-disk.com
HTTP_HOST=www.recovery-cd-disk.com
These Form-variables exists

redirect_cmd=_xclick
state=NC
last_name=xxx
night_phone_b=xxx
email=xxx.xxx@xxx.com
receiver_email=xxxx@yahoo.com
city=Apex
no_note=1
address_override=1
upload=1
business=xxxx@yahoo.com
pal=NRUBJXESJTY24
shipping=0.00
country=US
cmd=_ext-enter
currency_code=USD
test_ipn=1
cancel_return=http://preciouspetalsdesigns.com/index.php
order_id=6
notify_url=http://preciouspetalsdesigns.com/administrator/components/com_virtuemart/notify.php
cpp_header_image=http://preciouspetalsdesigns.com/components/com_virtuemart/shop_image/vendor/Precious_Petals_4b8f0aa643750.png
item_name=Order Number: 6
return=http://preciouspetalsdesigns.com/index.php?option=com_virtuemart&page=checkout.result&order_id=6
address2=
undefined_quantity=0
zip=27502
amount=106.75
invoice=55_1590e9e1b521b8048cc42cef06087
address1=5448 xxxx peakway
no_shipping=1
first_name=xxx

stinga

OK, that data looks OK, nothing stands out as being incorrect, so change the URL back to PP.
Next is to have a look in PP and have a look at the IPN data that PP logs. It might tell you what is happeninf, it will tell you the status it got from your server.

Then we will want to have a look at notify.php, you might have to put some echo commands in there so we can get a track on what is happening.
You can sprinkle

file_put_contents('/tmp/PP_notify', __FILE__.":".__LINE__."\n", FILE_APPEND);
[\code]
into notify.php and then have a look at /tmp/PP_notify and you can see what happens. (This is for linux, if using windows you are your own!)
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