Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / First Data Payment Module Setup..

First Data Payment Module Setup..

Views: 3,041

Results 1 to 15 of 15
26 Feb 2012, 11:12 PM
#1
mqeprez avatar

mqeprez

New Zenner

Join Date:
Feb 2012
Posts:
10
Plugin Contributions:
0

First Data Payment Module Setup..

Have installed and configured Zen 1.5 for a client. Extremely pleased with overall operation and ease of use. That being said, have an issue with setting up the First Data Payment Module. This is what's been done... Initially configured zen as non-ssl until ssl cert was purchased and installed. Once done, I modified both configure.php files to SSL "true". Note: Main site and store are in same folder on site, httpdocs... verified the cert was working, in fact next time i was logging into site, it made me change my password because it picked up the fact that it was SSL active.. Got all the necessary info including .pem file. Uploaded .pem to /includes/modules/payment/linkpoint_api/XXXXXX.pem.. Now I go to the admin section.. Admin>modules>payments> and click on the firstdata... link and it gives me the same info as before and no install button... Does anyone have any idea on what could be wrong, I'm stuck...Thanks for your help!

27 Feb 2012, 12:38 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: First Data Payment Module Setup..

That module requires SSL for security.
In addition to setting ENABLE_SSL and ENABLE_SSL_ADMIN and ENABLE_SSL_CATALOG to 'true', in your admin you'll want to also copy what you've got in your HTTPS_SERVER setting into your HTTP_SERVER setting (yes, put the https address in the http define).

This is addressed in a note at https://www.zen-cart.com/tutorials/index.php?article=14

27 Feb 2012, 12:52 AM
#3
mqeprez avatar

mqeprez

New Zenner

Join Date:
Feb 2012
Posts:
10
Plugin Contributions:
0

Re: First Data Payment Module Setup..

Thanks for the reply... I have actually done all of you've stated...
The http and the Https are both set to:

define('HTTP_SERVER', 'http://www.client.com');
define('HTTPS_SERVER', 'http://www.client.com');
define('HTTP_CATALOG_SERVER', 'http://www.client.com');
define('HTTPS_CATALOG_SERVER', 'http://www.client.com');

That's why I'm stuck here because everything mentioned has been done... Any other suggestions??

Thanks again for the prompt reply.. I appreciate it..

27 Feb 2012, 1:14 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: First Data Payment Module Setup..

No, you need an https address in those entries of your admin configure.php, not an http address.

27 Feb 2012, 1:18 AM
#5
mqeprez avatar

mqeprez

New Zenner

Join Date:
Feb 2012
Posts:
10
Plugin Contributions:
0

Re: First Data Payment Module Setup..

Is that even though both the main site and the store are in the same directory? in other words: https://www.client.com/store??

27 Feb 2012, 1:20 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: First Data Payment Module Setup..

mqeprez:

Is that even though both the main site and the store are in the same directory? in other words: https://www.client.com/store??
I'm not sure what exactly you're talking about, but as far as the Firstdata module goes, the "directory" has no relevance to it being available or not.

27 Feb 2012, 1:29 AM
#7
mqeprez avatar

mqeprez

New Zenner

Join Date:
Feb 2012
Posts:
10
Plugin Contributions:
0

Re: First Data Payment Module Setup..

k.. I think I know what the problem is then.. The domain setting are set to 2 different servers. I have email on one server and the site on a dedicated server... the "www" resolves to the dedicated server where the site is... the "@" goes to the email server.. which also affects the resolving of "https". I will need to change that for this to work.

27 Feb 2012, 1:42 AM
#8
mqeprez avatar

mqeprez

New Zenner

Join Date:
Feb 2012
Posts:
10
Plugin Contributions:
0

Re: First Data Payment Module Setup..

So the setup should be:

define('HTTP_SERVER', 'http://www.client.com');
define('HTTPS_SERVER', 'https://www.client.com');
define('HTTP_CATALOG_SERVER', 'http://www.client.com');
define('HTTPS_CATALOG_SERVER', 'https://www.client.com');

If I understand you correctly...

Thanks again for the reply and assistance.. appreciate it!

27 Feb 2012, 1:49 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: First Data Payment Module Setup..

No. What you just quoted is what one would use if they only wanted to secure the admin login page.

It would be a LOT more constructive if you would use ACTUAL urls so I could visit them and see what exactly is happening on those sites, since clearly you're misunderstanding everything I'm saying since I have to talk in concepts instead of specifics, and whatever you're doing when translating into specifics isn't working for you.

27 Feb 2012, 2:11 AM
#10
mqeprez avatar

mqeprez

New Zenner

Join Date:
Feb 2012
Posts:
10
Plugin Contributions:
0

Re: First Data Payment Module Setup..

ok.. let me try this.. on my server the folder where everything is located is: "httpdocs". The SSL cert acquired was installed on that server and is for https://www.client.com with a dedicated ip address.. The store is in a subdirectory of the site... So when setting the SSL path I used the same path for both http and https... I am assuming that is incorrect... I am going to have to switch the ip pointer to have it resolve properly for it to work... to even explain it more.. http://www.client.com goes to the new site with the SSL cert, https://www.client.com goes to the old server with no SSL cert... If I understand you correctly, that's the problem.. I need the https to resolve correctly to the new server...

Please advise and thanks !!

The actual site is https://www.hailusa.com/store

27 Feb 2012, 2:31 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: First Data Payment Module Setup..

For your admin configure.php:

HTTP_SERVER = https://www.hailusa.com
HTTPS_SERVER = https://www.hailusa.com
HTTP_CATALOG_SERVER = http://www.hailusa.com
HTTPS_CATALOG_SERVER = https://www.hailusa.com

DIR_WS_ADMIN = /store/adminfoldername/
DIR_WS_HTTPS_ADMIN = /store/adminfoldername/
DIR_WS_CATALOG = /store/
DIR_WS_HTTPS_CATALOG = /store/

ENABLE_SSL_ADMIN = 'true'
ENABLE_SSL_CATALOG = 'true'

For your non-admin configure.php:
HTTP_SERVER = http://www.hailusa.com
HTTPS_SERVER = https://www.hailusa.com
ENABLE_SSL = 'true'
DIR_WS_CATALOG = /store/
DIR_WS_HTTPS_CATALOG = /store/

27 Feb 2012, 2:34 AM
#12
mqeprez avatar

mqeprez

New Zenner

Join Date:
Feb 2012
Posts:
10
Plugin Contributions:
0

Re: First Data Payment Module Setup..

thanks! will try it...

27 Feb 2012, 6:19 AM
#13
mqeprez avatar

mqeprez

New Zenner

Join Date:
Feb 2012
Posts:
10
Plugin Contributions:
0

Re: First Data Payment Module Setup..

Still no install button:

Here's what I did per your previous comments:

Non-Admin
define('HTTP_SERVER', 'http://www.hailusa.com');
define('HTTPS_SERVER', 'https://www.hailusa.com');

define('ENABLE_SSL', 'true');

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

For Admin Folder

define('HTTP_SERVER', 'http://www.hailusa.com');
define('HTTPS_SERVER', 'https://www.hailusa.com');
define('HTTP_CATALOG_SERVER', 'http://www.hailusa.com');
define('HTTPS_CATALOG_SERVER', 'https://www.hailusa.com');

define('ENABLE_SSL_ADMIN', 'true');

define('ENABLE_SSL_CATALOG', 'true');

$t1 = parse_url(HTTP_SERVER);$p1 = $t1['path'];$t2 = parse_url(HTTPS_SERVER);$p2 = $t2['path'];

define('DIR_WS_ADMIN', '/store/my_admin_name/');
define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_ADMIN', '/store/my_admin_name/');
define('DIR_WS_HTTPS_CATALOG', '/store/');

Any other suggestions? Thanks!

27 Feb 2012, 6:35 AM
#14
drbyte avatar

drbyte

Sensei

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

Re: First Data Payment Module Setup..

mqeprez:

For Admin Folder

define('HTTP_SERVER', 'http://www.hailusa.com');
define('HTTPS_SERVER', 'https://www.hailusa.com');No. Both of those need to use http**s**://

define('HTTP_SERVER', '**https://www.hailusa.com');
define('HTTPS_SERVER', '
https://**www.hailusa.com');

27 Feb 2012, 11:09 AM
#15
mqeprez avatar

mqeprez

New Zenner

Join Date:
Feb 2012
Posts:
10
Plugin Contributions:
0

Re: First Data Payment Module Setup..

Made that minor change and jackpot! It worked!!!
I've been testing and everything seems fine...
I know that sometimes it can be difficult to answer basic questions to new users but believe me when I tell you, we all appreciate it!!
Thanks for all the help!!