Zen Cart Logo
Forums / General Questions / Orders Issue in Admin using paypal

Orders Issue in Admin using paypal

Locked

Views: 2,158

Results 1 to 18 of 18
This thread is locked. New replies are disabled.
25 Feb 2008, 5:00 AM
#1
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Orders Issue in Admin using paypal

I have been thru the forums now for two weeks following directions on how to resolve this issue.

My orders are not displaying in Admin! Processing thru paypal successful. Using IPN Handler.

I am getting an error on
https://www.aphrodisia.com.au/shop/ipn_main_handler.php

Fatal error: Call to undefined function ipn_postback() in /hsphere/local/home/houseofd/aphrodisia.com.au/shop/ipn_main_handler.php on line 81

This could be the first start to my problem.

Any ideas how to correct the above error?

25 Feb 2008, 5:22 AM
#2
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Orders Issue in Admin using paypal

I have followed Dr Bytes instruction to
This suggests that your /includes/modules/payment/paypal/paypal_functions.php file is missing or incomplete

I am using 1.38a and have compared files from the software files to what I have and no difference cannot spot any errors.

Files are identical using Winmerge.

25 Feb 2008, 6:10 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Orders Issue in Admin using paypal

Is there any chance that your /includes/auto_loaders/paypal_ipn.core.php file is missing or incomplete?

25 Feb 2008, 7:21 AM
#4
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Orders Issue in Admin using paypal

Hi Dr Byte,

thanks for your reply.

these files are located on the server and I have re-uploaded the files just in case.

25 Feb 2008, 7:30 AM
#5
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Orders Issue in Admin using paypal

I just put another order and it is still not showing in theadmin under new orders.
any more ideas? to help resolve this mystery.

25 Feb 2008, 7:44 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Orders Issue in Admin using paypal

My suggestion was in relation to your first post, about the error message:> Fatal error: Call to undefined function ipn_postback()If the error message still appears, then you need to find out why the error message is happening when the files that contain the function it says is missing are on the server.

25 Feb 2008, 7:58 AM
#7
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Orders Issue in Admin using paypal

what files contain that function?
Need more directions.

25 Feb 2008, 9:51 AM
#8
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Orders Issue in Admin using paypal

I have reverted back to the 1.3.7 ipn_handler.php file and there is no errors now.

There is programming error in the software on 1.3.8a that is causing this error message.

I think if this is a programmatical error then the shopcart tech guy should be fixing this issue.

Will there be any difference if I use the previous version IPN Handler then the 1.3.8a file.

Still no orders displaying in admin! Tried everything.

Would not like to submit defeat after 5 days of upgrading and with problems and with the most important thing of all not having the orders to complete. What the use of going ecommerce??? I ask the question.

25 Feb 2008, 4:50 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Orders Issue in Admin using paypal

Mixing v1.3.7 and v1.3.8 code together on the same site is dangerous ... and will definitely cause your orders to not be saved completely.
Instead of blaming the code, I'd be more inclined to blame an incomplete upgrade.

Try setting up a fresh install of v1.3.8a in another folder+database and test some PayPal transactions. You'll likely find that it works just fine. Thus, if your upgraded site isn't working, then you've missed something during the upgrade.

Surely you did a test upgrade on a test copy of your site, and didn't upgrade your live site directly without a test first?

25 Feb 2008, 11:20 PM
#10
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Orders Issue in Admin using paypal

Hi Dr Byte,

Yes, I did a test upgrade the orders were still not coming in and also on 1.3.7.

I have the error logs (this could be due to the error I get in the previous response.

IPN NOTICE :: ipn_application_top -> language files okay

IPN INFO - POST VARS received (sorted):
Array
(
)

IPN FATAL ERROR :: No saved session data available to build order from IPN.
Cannot process this as an IPN-only transaction.
IPN FATAL ERROR :: No POST data available -- Most likely initiated by
browser and not PayPal.

 *** The rest of this log report can most likely be ignored !! *** 

IPN FATAL ERROR :: No saved session data available to build order from IPN.
Cannot process this as an IPN-only transaction.

25 Feb 2008, 11:53 PM
#11
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Orders Issue in Admin using paypal

I am doing another upgrade.

Do you recommend just transfering the 1.3.8a files directly to the live site?
Previously I used winmerge to compare and transfer over the changes. Which took a very long time.

26 Feb 2008, 4:15 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Orders Issue in Admin using paypal

aphrodisia:

I have the error logs (this could be due to the error I get in the previous response.

IPN NOTICE :: ipn_application_top -> language files okay

IPN INFO - POST VARS received (sorted):
Array
(
)

IPN FATAL ERROR :: No saved session data available to build order from IPN.
Cannot process this as an IPN-only transaction.
IPN FATAL ERROR :: No POST data available -- Most likely initiated by
browser and not PayPal.

 *** The rest of this log report can most likely be ignored !! *** 

IPN FATAL ERROR :: No saved session data available to build order from IPN.
Cannot process this as an IPN-only transaction.

That log report is not useful ... it's not an IPN from PayPal. It was generated by pointing your browser to the ipn_main_handler.php script. That won't tell you anything about why a transaction didn't complete when PayPal sent details to you.

26 Feb 2008, 4:17 AM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Orders Issue in Admin using paypal

aphrodisia:

I am doing another upgrade.

Do you recommend just transfering the 1.3.8a files directly to the live site?
Previously I used winmerge to compare and transfer over the changes. Which took a very long time.

I repeat:> DrByte:

Try setting up a fresh install of v1.3.8a in another folder+database and test some PayPal transactions. You'll likely find that it works just fine. Thus, if your upgraded site isn't working, then you've missed something during the upgrade.

ie ... uncustomized. Just install Zen Cart and get IPN working. After that, deal with adding your customizations, your data, etc.

26 Feb 2008, 8:25 AM
#14
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Orders Issue in Admin using paypal

Hi Dr Byte,

hope you have had a good day.

I have used winmerge to compare the live site files with a fresh download of the 1.3.8a version.

There were some differences found.

The error message is gone now when I do the test at

https://www.aphrodisia.com.au/shop/ipn_main_handler.php
Please click on the link and let me know if this is fixed.

I am getting the message "Nothing to process. Please return to home page"

I have not done a order yet to see if it is displaying in the admin section. I will get my client to do this part.

Thanks for checking up on my issue.

Please check back soon if possible just incase my orders have not come in to admin.

Thanxs for your support

26 Feb 2008, 1:30 PM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Orders Issue in Admin using paypal

aphrodisia:

https://www.aphrodisia.com.au/shop/ipn_main_handler.php
Please click on the link and let me know if this is fixed.

I am getting the message "Nothing to process. Please return to home page"

I have not done a order yet to see if it is displaying in the admin section.That is to be expected. The true test is now doing an actual transaction.

27 Feb 2008, 11:47 AM
#16
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Orders Issue in Admin using paypal

Hi Dr Byte,

the orders are not displaying in admin.

I have setup a SSL certificate on admin and there is an error coming up on domain name mismatch.

https://www.aphrodisia.com.au/shop/admin

Could this be the issue?

I will see if I can see any errors in the logs.

29 Feb 2008, 4:51 AM
#17
aphrodisia avatar

aphrodisia

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Orders Issue in Admin using paypal

I found the problem to be the SSL certificate had a certificate error on the domain name mismatch. Orders are now working again in shop admin.

I hope I have saved others from a lot of time in finding a solution to the errors and problem I encountered during upgrade and orders not coming to admin.

It was not paypal or the hosting company, simple SSL certificate error.

Thanks for your assistance DR Byte. :smile:

18 Mar 2008, 1:16 AM
#18
gtcman avatar

gtcman

New Zenner

Join Date:
Aug 2007
Posts:
35
Plugin Contributions:
0

Re: Orders Issue in Admin using paypal

aphrodisia:

I found the problem to be the SSL certificate had a certificate error on the domain name mismatch. Orders are now working again in shop admin.

I hope I have saved others from a lot of time in finding a solution to the errors and problem I encountered during upgrade and orders not coming to admin.

It was not paypal or the hosting company, simple SSL certificate error.

Thanks for your assistance DR Byte. :smile:

Hi aphrodisia, it seems that this is the same problem discussed here,

http://www.zen-cart.com/forum/showthread.php?t=82114&highlight=orders+-showing+in+the+new+orders

it seems that i did the same thing and got the same error you got. but i did backup everything including my store files and database before i upgraded just in case i need to put the 1.3.7.1 back, after upgrading to 1.3.8a things went haywire and got scared, so i put everything back the way it was for 1.3.7.1 but now when customers make a purchase i get the payment but there is nothing reported in the admin. does this sound like the same problem you had and fixed! can you please give us a step by step as to how you solved the problem? thanks