Zen Cart Logo
Forums / PayPal Website Payments Pro support / Not able to check out - Pay Pal url issue

Not able to check out - Pay Pal url issue

Locked

Views: 3,351

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
17 Nov 2008, 3:54 PM
#1
tornadored avatar

tornadored

New Zenner

Join Date:
Oct 2008
Location:
Charleston, SC
Posts:
10
Plugin Contributions:
0

Not able to check out - Pay Pal url issue

Hi - I am setting up Pay Pal IPN module. The instant notifications URL and the Automatic Return URLs suggested in the module do not look right.

https://www.gerredhudson.comhttps://idname.secure.omnis.com/ipn_main_handler.php

and

https://www.gerredhudson.comhttps://idname.secure.omnis.com/index.php?main_page=checkout_process

In comparing them to the sample I had for my Example Store, I see that the example shows http://www.gerredhudson.com/ipn_main_handler.php.

I have configured Pay Pal with the module suggested URL, which Pay Pal did not like. I tried just the https://idname.secure.omnis.com/index.php?main_page=checkout_process portion which Pay Pal accepted but still does not work. I also tried http://www.gerredhudson.com/ipn_main_handler.php.

I am able to add to the shopping cart but not able to check out.

Thank you in advance.

~Red

17 Nov 2008, 4:11 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Not able to check out - Pay Pal url issue

Sounds like you've got your configure.php file contents set incorrectly.

This seems to be the correct address, although it's slow to respond: http://www.gerredhudson.com/ipn_main_handler.php

17 Nov 2008, 5:49 PM
#3
tornadored avatar

tornadored

New Zenner

Join Date:
Oct 2008
Location:
Charleston, SC
Posts:
10
Plugin Contributions:
0

Re: Not able to check out - Pay Pal url issue

Thank you, I agree, but I am not sure where to look or what to change.

I used the Developer Tool to find all the instances of common part of the url, but I don't see any misconfigured urls in the text.

Any suggestions? Thank you!!!

17 Nov 2008, 5:54 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Not able to check out - Pay Pal url issue

post your 2 configure.php file contents, without passwords

17 Nov 2008, 6:05 PM
#5
tornadored avatar

tornadored

New Zenner

Join Date:
Oct 2008
Location:
Charleston, SC
Posts:
10
Plugin Contributions:
0

Re: Not able to check out - Pay Pal url issue

I have attached both files, I am thinking that define('HTTPS_SERVER', 'https://www.gerredhudson.com') should be the https://www.idname.secure.omnis....

perhaps??

THANK YOU! for looking at these, I have been working on this for a week.

~ Red

17 Nov 2008, 6:10 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Not able to check out - Pay Pal url issue

How did these files get created?
Somehow you've entered URL data in settings intended only for folders.

17 Nov 2008, 6:12 PM
#7
tornadored avatar

tornadored

New Zenner

Join Date:
Oct 2008
Location:
Charleston, SC
Posts:
10
Plugin Contributions:
0

Re: Not able to check out - Pay Pal url issue

As part of the installation, I believe. I haven't gone in and edited these files.

17 Nov 2008, 6:13 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: Not able to check out - Pay Pal url issue

  define('HTTP_SERVER', 'http://www.gerredhudson.com');
  define('HTTPS_SERVER', 'https://www.gerredhudson.com');

  // 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', '/');
  define('DIR_WS_HTTPS_CATALOG', 'https://gerre001.secure.omnis.com/');

HTTP*SERVER entries are for URLs only
DIR
entries are for FOLDERs, not URLs

Thus, you'll need to change that to something like:```
define('HTTP_SERVER', 'http://www.gerredhudson.com');
define('HTTPS_SERVER', 'https://[B]gerre001.secure.omnis.com[/B]');

// 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', '/');
define('DIR_WS_HTTPS_CATALOG',[B] '/')[/B];


The installer builds the data from whatever you type in. It does not validate your HTTPS data, so it must have been entered incorrectly then.
17 Nov 2008, 6:15 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Not able to check out - Pay Pal url issue

and similarly for the admin:```
define('HTTP_SERVER', 'http://www.gerredhudson.com');
define('HTTPS_SERVER', 'https://gerre001.secure.omnis.com');
define('HTTP_CATALOG_SERVER', 'http://www.gerredhudson.com');
define('HTTPS_CATALOG_SERVER', 'https://gerre001.secure.omnis.com');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'false');

// 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_ADMIN', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');

17 Nov 2008, 6:17 PM
#10
tornadored avatar

tornadored

New Zenner

Join Date:
Oct 2008
Location:
Charleston, SC
Posts:
10
Plugin Contributions:
0

Re: Not able to check out - Pay Pal url issue

Ok, I will change the HTTPS and delete the DIR in both files, as shown, repost and let you know. (I'll make a backup first!)

Thank you, you've been wonderful help.

~ Red

17 Nov 2008, 6:25 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: Not able to check out - Pay Pal url issue

TornadoRed:

Ok, I will change the HTTPS and delete the DIR in both files, as shown, repost and let you know. (I'll make a backup first!)
DELETE?

Don't delete any lines from the files.
NEVER delete ANY define() statements unless you know exactly what you're doing.

17 Nov 2008, 7:04 PM
#12
tornadored avatar

tornadored

New Zenner

Join Date:
Oct 2008
Location:
Charleston, SC
Posts:
10
Plugin Contributions:
0

Re: Not able to check out - Pay Pal url issue

No, not delete the line, delete the text and replace it with the correct infomation.

17 Nov 2008, 7:09 PM
#13
tornadored avatar

tornadored

New Zenner

Join Date:
Oct 2008
Location:
Charleston, SC
Posts:
10
Plugin Contributions:
0

Re: Not able to check out - Pay Pal url issue

Hi;

I made the changes, updated Pay Pal and tried to check out, it's still not letting me check out, but the URL direction is better (clearly not wrong at any rate) I check the URL on my server and the configuration files have the right address.

Any other thoughts? I also am not able to create customer accounts, since the URL was having the same issue, I though that they might be related. And so hoped that fixing the configuration would do it, is there another place to look?

~ Red

17 Nov 2008, 7:54 PM
#14
tornadored avatar

tornadored

New Zenner

Join Date:
Oct 2008
Location:
Charleston, SC
Posts:
10
Plugin Contributions:
0

Re: Not able to check out - Pay Pal url issue

Hi;

Thank you for all of your help so far.

I called my Website provider. They are saying that the checkout pages and the index page for check out need to be in the SSL folder on the site.

This is becasue the security is shared. Does this make sense? They don't really know how Zencart works, and I am concerned that moving files will create broken links.

Thank you,

~ Red

18 Nov 2008, 12:16 AM
#15
drbyte avatar

drbyte

Sensei

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

Re: Not able to check out - Pay Pal url issue

TornadoRed:

I called my Website provider. They are saying that the checkout pages and the index page for check out need to be in the SSL folder on the site.

This is becasue the security is shared. Does this make sense? They don't really know how Zencart works
Forcing SSL-specific pages to be handled from a different set of folders is an old-school approach to handling secure content.

Zen Cart is not just a bunch of HTML files that need to be served as secure or nonsecure. It's a dynamic application that automatically selects SSL mode when needed for secure pages. Thus, it operates best when you can serve your SSL pages from the SAME folder as your non-SSL pages.

Maybe your hosting company isn't suitable for doing ecommerce with an advanced software package like Zen Cart. You can find recommended hosts capable of running Zen Cart and serving both secure and nonsecure content from the same folder ... by clicking on the "Certified Hosts" link at the top of this page.

If you want to keep your current host and their system limitations and beat your head against the wall longer, you can make a complete copy of your Zen Cart site inside the SSL folder they mentioned. You'll have to alter that folder's configure.php files slightly to reflect the new path, and then you'll have to CONSTANTLY maintain BOTH separate copies of the site whenever you make ANY change, and whenever you upload product images you'll have to make sure you copy them to both sides. This means you'll be using double the normal amount of disk space, and you'll have more than double the normal work to keep your two copies in sync. So, it can be done. But it's not pleasant.
If your host can't handle serving secure and nonsecure content from one folder, maybe they're not the right choice for your ecommerce business.

18 Nov 2008, 1:17 PM
#16
tornadored avatar

tornadored

New Zenner

Join Date:
Oct 2008
Location:
Charleston, SC
Posts:
10
Plugin Contributions:
0

Re: Not able to check out - Pay Pal url issue

Thank you for your time and knowledge, you have been very helpful.

I thought that moving files in to the SSL folder at the root was a bad idea. The odd part is that I found Zen Cart as one of there recommendations.

I did spend time yesterday reseaching Zen certified hosts, and I am going to migrate over to one of them.

~ Red