Forums / PayPal Express Checkout support / 1.3.8 PP EX returning to wrond address / catalog

1.3.8 PP EX returning to wrond address / catalog

Locked

Views: 2,596

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
17 Feb 2008, 12:43 AM
#1
snyderscandy avatar

snyderscandy

New Zenner

Join Date:
Jun 2007
Posts:
14
Plugin Contributions:
0

1.3.8 PP EX returning to wrond address / catalog

My first post here, I'd love to welcome everyone and thank you all for all the support that I've found by following your advice for over past 6 months.

I take care of 2 stores - one 1.3.7 and the other 1.3.8 both with PP EXC on the same paypal account.

Everything works despite the fact that for ssl purposes - both are hosted on a shared server (powweb) - customers log in to different addresses and paypal then has return address problems:

  1. snyderscandy.com - secure looks like https:// snyderscandyrb. powweb.com/

but since paypal orders are showing up in admin then there's not really a problem.

  1. webkinzoverstock.com - here the path is different for secure, because the root is also in a subcatalog: https:// cyprianik. powweb.com/webkinzoverstock/

PayPal then returns to https//webkinzoverstock.com/**webkinzoverstock/paypal_handler.php

or also
http://www.webkinzoverstock.com/webkinzoverstock/index.php?main_page=accoun
**
What file should I edit in order to get rid of this relative addressing and put an actual path?

Thanks a lot for your help.

CJ

17 Feb 2008, 5:55 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 1.3.8 PP EX returning to wrond address / catalog

What are your settings in /includes/configure.php for the following:```
define('HTTP_SERVER', 'http://xxxxxxxxxxxx');
define('HTTPS_SERVER', 'https://xxxxxxxxx');

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Feb 2008, 11:48 AM
#3
snyderscandy avatar

snyderscandy

New Zenner

Join Date:
Jun 2007
Posts:
14
Plugin Contributions:
0

Re: 1.3.8 PP EX returning to wrond address / catalog

 define('HTTP_SERVER', 'http://www.webkinzoverstock.com');
  define('HTTPS_SERVER', 'https://cyprianik.powweb.com');

  // Use secure webserver for checkout procedure?
  define('ENABLE_SSL', 'true');

  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/webkinzoverstock/');



// * 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', '/home/users/web/b205/pow.cyprianik/htdocs/webkinzoverstock/');
18 Feb 2008, 2:25 AM
#4
snyderscandy avatar

snyderscandy

New Zenner

Join Date:
Jun 2007
Posts:
14
Plugin Contributions:
0

Re: 1.3.8 PP EX returning to wrond address / catalog

OK,

I've changed that path.

Will see if it fixes the problem. For now secure login works just like before the change.

Thank you.

18 Feb 2008, 3:13 PM
#5
snyderscandy avatar

snyderscandy

New Zenner

Join Date:
Jun 2007
Posts:
14
Plugin Contributions:
0

Re: 1.3.8 PP EX returning to wrond address / catalog

It has not resolved the issue - moving the webikinzoverstock to the path to secrue addy so cyprianik. powweb.com/ webkinzoverstck

paypal still goes back to https://www.webkinzoverstock.com/webkinzoverstock/.......

Any ideas how to fix it?

18 Feb 2008, 7:24 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 1.3.8 PP EX returning to wrond address / catalog

So, what are your current settings from the /includes/configure.php** file on your server** now?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Feb 2008, 8:21 PM
#7
snyderscandy avatar

snyderscandy

New Zenner

Join Date:
Jun 2007
Posts:
14
Plugin Contributions:
0

Re: 1.3.8 PP EX returning to wrond address / catalog

I even tried uninstalling PayPal express ch and installing it again, that's the only paypal installed.

Still, paypal for whatever reason is sending back to that additional catalog which doesn't exist.

 define('HTTP_SERVER', 'http://www.webkinzoverstock.com');
  define('HTTPS_SERVER', 'https://cyprianik.powweb.com/webkinzoverstock');

  // 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', '/');

  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', '/home/users/web/b205/pow.cyprianik/htdocs/webkinzoverstock/');
18 Feb 2008, 8:26 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 1.3.8 PP EX returning to wrond address / catalog

Okay, what you posted looks good.
But is that what's on the SERVER?

ie: before you uploaded your changes, did you make the /includes/configure.php file writable so the upload would work, and then make it read-only again?

If it's not writable, then the upload will fail, and your website won't "use" the updated changes.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Feb 2008, 10:09 PM
#9
snyderscandy avatar

snyderscandy

New Zenner

Join Date:
Jun 2007
Posts:
14
Plugin Contributions:
0

Re: 1.3.8 PP EX returning to wrond address / catalog

yeah, that's exactly what's on the server.

prior to that change I changed the CHMOD and afterwords I changed back to read only.