Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Orders disappearing when using Paypal

Orders disappearing when using Paypal

Locked

Views: 6,773

Results 1 to 19 of 19
This thread is locked. New replies are disabled.
10 May 2006, 12:43 AM
#1
rico avatar

rico

New Zenner

Join Date:
Apr 2006
Posts:
30
Plugin Contributions:
0

Orders disappearing when using Paypal

Ok. I put a test product up on my site (a $1 gift certificate).

When you go through the order process and choose "check/money order" for a payment option everything works fine.

However when you try to place the same order using paypal...everything "looks" fine to the customer. Then get actually do make their payment and get returned to the "thank you for your order" page. But they never recieve the order confirmation email.

On my end I do recieve their payment through paypal but when I go to the admin area their order is not there.

I have checked all of the settings in the admin and everything looks to be correct with one exception.....

Under Payment options the configeration instructions say the following:

PayPal IPN
Configuration Instructions:
On https://www.paypal.com, under "Profile",
set your Instant Payment Notification Preferences URL to:
https://www1069.ssldomain.com/pinnaclecandlehttps://www.1069.ssldomain.com/pinnaclecandle/zencart/ipn_main_handler.php
in Website Payments Preferences set your Automatic Return URL to:
https://www1069.ssldomain.com/pinnaclecandlehttps://www.1069.ssldomain.com/pinnaclecandle/zencart/index.php?main_page=checkout_process

Notice the double URL's...Of coarse I did not use the double URL's when setting up paypal but rather used the following:

https://www.1069.ssldomain.com/pinnaclecandle/zencart/ipn_main_handler.php

&

https://www.1069.ssldomain.com/pinnaclecandle/zencart/index.php?main_page=checkout_process

Someone PLEASE Help...I have to get this working before I can make the site live.

10 May 2006, 12:55 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Orders disappearing when using Paypal

Could you post your 2 configure.php files, from the server, without your username and password?

/includes/configure.php

/admin/includes/configure.php

Sounds like you have an error if the PayPal Payment Module is giving you the wrong address to use ...

10 May 2006, 12:59 AM
#3
rico avatar

rico

New Zenner

Join Date:
Apr 2006
Posts:
30
Plugin Contributions:
0

Re: Orders disappearing when using Paypal

<?php /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> define('HTTP_SERVER', 'http://pinnaclecandle.com'); define('HTTPS_SERVER', 'https://www1069.ssldomain.com/pinnaclecandle'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/zencart/'); define('DIR_WS_HTTPS_CATALOG', '/zencart/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', 'D:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\inetpub\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\pinnaclecandle\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\zencart/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'tbl_'); define('DB_SERVER', 'mysql18.webcontrolcenter.com'); // eg, localhost - should not be empty define('DB_SERVER_USERNAME', '---------'); define('DB_SERVER_PASSWORD', '---------'); define('DB_DATABASE', '-----'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db' // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'database'); define('DIR_FS_SQL_CACHE', ''); ?>
10 May 2006, 1:03 AM
#4
rico avatar

rico

New Zenner

Join Date:
Apr 2006
Posts:
30
Plugin Contributions:
0

Re: Orders disappearing when using Paypal

It won't let me post this file...says it is to long

10 May 2006, 1:07 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Orders disappearing when using Paypal

This is the path to your root directory?

define('DIR_FS_CATALOG', 'D:\\\\\\\\\\\\\\\\inetpub\\\\ \\\\\\\\\\\\pinnaclecandle\\\\\\ \\\\\\\\\\zencart/');

10 May 2006, 1:10 AM
#6
rico avatar

rico

New Zenner

Join Date:
Apr 2006
Posts:
30
Plugin Contributions:
0

Re: Orders disappearing when using Paypal

That's how it came out of the install. I really didn't understand all of the \\'s

And everything else works on the site.

I just thought it was something with zen-cart.

10 May 2006, 1:12 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Orders disappearing when using Paypal

Perhaps check with your hosting site and ask what the path is to your root ... sounds like something is a bit moofy there ...

10 May 2006, 1:17 AM
#8
rico avatar

rico

New Zenner

Join Date:
Apr 2006
Posts:
30
Plugin Contributions:
0

Re: Orders disappearing when using Paypal

Ok, this is the physical path to the zencart directory:

D:\inetpub\pinnaclecandle\zencart

Which is what I entered during the install. The zen cart install program is what put all of the extra \'s in there.

10 May 2006, 1:29 AM
#9
rico avatar

rico

New Zenner

Join Date:
Apr 2006
Posts:
30
Plugin Contributions:
0

Re: Orders disappearing when using Paypal

Ok I corrected the path in the config file and tried the test order again...no affect. As soon as I get sent to the "thank you for the order" page...poof order goes bye bye.

10 May 2006, 1:29 AM
#10
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Orders disappearing when using Paypal

do a test order, 1 penny free shipping,
when you return from paypal are there double URLS in the browser window?

10 May 2006, 1:33 AM
#11
rico avatar

rico

New Zenner

Join Date:
Apr 2006
Posts:
30
Plugin Contributions:
0

Re: Orders disappearing when using Paypal

No there isn't. I didn't give the double URL's to paypal. I gave them the correct ones.

10 May 2006, 1:52 AM
#13
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Orders disappearing when using Paypal

Ok well the correct information is being sent to paypal.
the IPN is correct.
OK
make sure that the email address you are using in zen carts paypal module is the one listed in https://www.paypal.com -> profiles-> email as primary and that it is case correct RED Red and red are different in this case.

also if this is 1.3.0 try deleting the meta_tags.php from
includes/language/english/custom/ and run a test.

this was an issue in 1.3.0 and I believe it was fixed in 1.3.0.1

10 May 2006, 1:58 AM
#14
rico avatar

rico

New Zenner

Join Date:
Apr 2006
Posts:
30
Plugin Contributions:
0

Re: Orders disappearing when using Paypal

Yes the email is correct. Like I said I am getting the payments...it just when the customers hits the thank you page the order disappears. I have the lastest version I believe but I will check to see if their are any meta tags.

10 May 2006, 2:03 AM
#15
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Orders disappearing when using Paypal

OK you will get the payments if the email case is not right or if you are using other than the PRIMARY account, however ONLY the primary account accessed with a case sensitive email address will work with the IPN

Your settings are correct.
the urls being sent to paypal are correct,
( dosnt matter what you have in paypal as long as they are ON and there is a valid url in the box ) zen cart sends over rides and yours are correct.

the IPN works,
store is not firewalled
store is not down for maintenance

so its either the email address issue or the meta_tag.php file

Give em both a shot and see if it works for ya
just totally rename the file in question to meta_tags.etc

10 May 2006, 2:24 AM
#16
rico avatar

rico

New Zenner

Join Date:
Apr 2006
Posts:
30
Plugin Contributions:
0

Re: Orders disappearing when using Paypal

Ok, I did not know about the primary email thing so I tried making the email that zen-cart is sending to my primary email on paypal. Had no effect. Order still went poof

I renamed the meta_tags.php file and that DID work.

Now PLEASE tell me there is a way to fix this so that I can also keep my meta tags. I really dont want the top of my site to say "zen cart" not to mention that I would like to have my key words and the list of files for the robots not to index.

10 May 2006, 2:32 AM
#17
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Orders disappearing when using Paypal

For the time being upload your custom meta_tags into the
includes/languages/english/

and rename the core one to meta_tags.php.bak

this will take care of the issue,

you had a double whammy,
cause if you hadnt done BOTH paypal wouldnt have worked

10 May 2006, 2:39 AM
#18
rico avatar

rico

New Zenner

Join Date:
Apr 2006
Posts:
30
Plugin Contributions:
0

Re: Orders disappearing when using Paypal

One more question. My test product was a $1 gift certificate. The order shows up on the admin home page in the "new orders" box on the top right of the page but not in the "orders" box on the bottom left and the gift certificate showed up in the Que but the order does not show up on the Orders page in admin so I can't change the statas of it.

Any ideas?

10 May 2006, 6:27 PM
#19
pauls avatar

pauls

Zen Follower

Join Date:
Feb 2006
Location:
UK
Posts:
300
Plugin Contributions:
0

Re: Orders disappearing when using Paypal

If I rename the /includes/modules/meta_tags.php to meta_tags.php.bak as suggested, or any other name actually the shop will no long show its pages at all! You can tell from this that I am having the same problem as the original poster, ie no IPN Paypal information is coming back to the shop, and no confirmation email to purchaser.

I am using v1.3.01 my shopping cart URL is in my sig, any help would be appreciated as the shop is now live, thanks.