Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Setting up shipping for Int'l

Setting up shipping for Int'l

Views: 6,073

Results 21 to 40 of 62
5 Jan 2016, 2:21 PM
#21
ajeh avatar

ajeh

Oba-san

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

Setting up shipping for Int'l

Some Payment modules require SSL to be set up, do you have that in both the Admin and the Catalog?

5 Jan 2016, 4:30 PM
#22
ember avatar

ember

New Zenner

Join Date:
Jan 2016
Location:
Palmdale, CA
Posts:
36
Plugin Contributions:
0

Re: Setting up shipping for Int'l

Do I need to define both the http server as well as the https server as "https" in the includes/config.php ?
Right now I have only the https server set as ssl.
(Currently on hold with USPS, hold time estimated 1 hour!)

5 Jan 2016, 4:36 PM
#23
ember avatar

ember

New Zenner

Join Date:
Jan 2016
Location:
Palmdale, CA
Posts:
36
Plugin Contributions:
0

Re: Setting up shipping for Int'l

Ember:

Do I need to define both the http server as well as the https server as "https" in the includes/config.php ?

When I configure both to "https:" in includes/configure.php it does not load.
In admin configure.php all are configured to "https"

5 Jan 2016, 4:45 PM
#24
ajeh avatar

ajeh

Oba-san

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

Re: Setting up shipping for Int'l

In the Catalog, you should have:
define('HTTP_SERVER', 'http://www.your_domain_name.com');
define('HTTPS_SERVER', 'https://www.your_domain_name.com');

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

The site will switch you between the Secure Pages as needed ...

NOTE: Make sure that your SSL is working properly for your site ...

Have you an URL that we can perhaps peek at, once you have this done? :lookaroun

5 Jan 2016, 4:51 PM
#25
ember avatar

ember

New Zenner

Join Date:
Jan 2016
Location:
Palmdale, CA
Posts:
36
Plugin Contributions:
0

Re: Setting up shipping for Int'l

Yes all is set as you say but still not seeing a credit card option on checkout. :-(

http://www.billysherwoodhq.com/SherwoodStore

5 Jan 2016, 4:55 PM
#26
ajeh avatar

ajeh

Oba-san

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

Re: Setting up shipping for Int'l

When I go to your site and click login, I am not on a secure page ...

Could you post your file:
/includes/configure.php

without exposing any of the database sensitive information?

5 Jan 2016, 4:56 PM
#27
ember avatar

ember

New Zenner

Join Date:
Jan 2016
Location:
Palmdale, CA
Posts:
36
Plugin Contributions:
0

Re: Setting up shipping for Int'l

This is what I have. If I configure define HTTP_SERVER to "https..." it does not load the catalog, endless loading

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

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

5 Jan 2016, 4:59 PM
#28
ajeh avatar

ajeh

Oba-san

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

Re: Setting up shipping for Int'l

Could you post the whole file without the private info for:

define('DB_SERVER_USERNAME', 'xxxx');
define('DB_SERVER_PASSWORD', 'xxxxx');
define('DB_DATABASE', 'xxxxx');

5 Jan 2016, 5:02 PM
#29
ember avatar

ember

New Zenner

Join Date:
Jan 2016
Location:
Palmdale, CA
Posts:
36
Plugin Contributions:
0

Re: Setting up shipping for Int'l

<?php /** * @package Configuration Settings circa 1.5.4 * @copyright Copyright 2003-2014 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * File Built by zc_install on 2015-07-31 09:17:13 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://www.billysherwoodhq.com'); define('HTTPS_SERVER', 'https://www.billysherwoohq.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', '/SherwoodStore/'); define('DIR_WS_HTTPS_CATALOG', '/SherwoodStore/'); 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/circqcom/public_html/billysherwoodhq.com/SherwoodStore/'); //the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash define('DIR_FS_LOGS', '/home/circqcom/public_html/billysherwoodhq.com/SherwoodStore/logs'); 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/'); ************************ // 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', 'none'); define('DIR_FS_SQL_CACHE', '/home/circqcom/public_html/billysherwoodhq.com/SherwoodStore/cache'); // EOF
5 Jan 2016, 5:07 PM
#30
ember avatar

ember

New Zenner

Join Date:
Jan 2016
Location:
Palmdale, CA
Posts:
36
Plugin Contributions:
0

Re: Setting up shipping for Int'l

On a separate note, finally got someone from USPS to switch to production. Waiting for confirmation email on that.
So other than being on hold on the phone, the time from signup (late last night) to production switch was rather minimal.

5 Jan 2016, 5:09 PM
#31
ajeh avatar

ajeh

Oba-san

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

Re: Setting up shipping for Int'l

And if you were to edit this section:

define('HTTP_SERVER', 'http://www.billysherwoodhq.com');
  define('HTTPS_SERVER', 'https://www.billysherwoo[B]d[/B]hq.com');
5 Jan 2016, 5:10 PM
#32
ajeh avatar

ajeh

Oba-san

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

Re: Setting up shipping for Int'l

Ember:

On a separate note, finally got someone from USPS to switch to production. Waiting for confirmation email on that.
So other than being on hold on the phone, the time from signup (late last night) to production switch was rather minimal.

You might just try a quote in about 30-60 minutes if you do not get an email confirming that, once this issue is resolved on the SSL

5 Jan 2016, 5:12 PM
#33
ember avatar

ember

New Zenner

Join Date:
Jan 2016
Location:
Palmdale, CA
Posts:
36
Plugin Contributions:
0

Re: Setting up shipping for Int'l

Ajeh:

And if you were to edit this section:

define('HTTP_SERVER', 'http://www.billysherwoodhq.com');
define('HTTPS_SERVER', 'https://www.billysherwoo[B]d[/B]hq.com');


UGH!  Omg.  Not even sure how I did that.  Soooo sorry.  Dumb mistake.  lol
5 Jan 2016, 5:15 PM
#34
ajeh avatar

ajeh

Oba-san

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

Re: Setting up shipping for Int'l

One of those silly little mistakes you will discover will happen again and again ... we all make them ... :lookaroun

Make sure to check your file:
/your_secret_admin/includes/configure.php

for any silly ol' things too ... (this is a hint)

5 Jan 2016, 5:18 PM
#35
ember avatar

ember

New Zenner

Join Date:
Jan 2016
Location:
Palmdale, CA
Posts:
36
Plugin Contributions:
0

Re: Setting up shipping for Int'l

Thank you so much!
It now loads but can't seem to get to step 2 in the checkout now.

5 Jan 2016, 5:20 PM
#36
ember avatar

ember

New Zenner

Join Date:
Jan 2016
Location:
Palmdale, CA
Posts:
36
Plugin Contributions:
0

Re: Setting up shipping for Int'l

Ajeh:

Make sure to check your file:
/your_secret_admin/includes/configure.php
(this is a hint)
Cryptic. Now I'm freaking. lol Checked but not seeing any errors. Wondering what I'm missing! :blink:

5 Jan 2016, 5:23 PM
#37
ajeh avatar

ajeh

Oba-san

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

Re: Setting up shipping for Int'l

Odd thing is when I click Login, it is not secure ...

Make sure that the file on the server for:
/includes/configure.php

actually got updated with your changes ...

Sometimes, based on permissions, the old configure.php file has to be deleted to upload the new one ...

Also look in the /logs file for any debug logs ...

5 Jan 2016, 5:31 PM
#38
ember avatar

ember

New Zenner

Join Date:
Jan 2016
Location:
Palmdale, CA
Posts:
36
Plugin Contributions:
0

Re: Setting up shipping for Int'l

Ajeh:

And if you were to edit this section:

define('HTTP_SERVER', 'http://www.billysherwoodhq.com');
define('HTTPS_SERVER', 'https://www.billysherwoo[B]d[/B]hq.com');


This should be 
define('HTTP_SERVER', 'http**s**://www.billysherwoodhq.com');

?????  
I switched that too now and it loads as secure but still not getting to step 2 in checkout
5 Jan 2016, 5:35 PM
#39
ajeh avatar

ajeh

Oba-san

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

Re: Setting up shipping for Int'l

Why would you want your whole site secure?

Zen Cart will change you from secure pages to non-secure pages as needed when things are set up correctly ...

NOTE: I noticed you are working in the Classic Template. You should really be working in your own, unique template, so that you always have the Classic Template to fall back on to see what might be broken etc. and to prevent accidental overwrites on upgrades etc.

5 Jan 2016, 5:42 PM
#40
ember avatar

ember

New Zenner

Join Date:
Jan 2016
Location:
Palmdale, CA
Posts:
36
Plugin Contributions:
0

Re: Setting up shipping for Int'l

Ajeh:

Why would you want your whole site secure?

Zen Cart will change you from secure pages to non-secure pages as needed when things are set up correctly ...

NOTE: I noticed you are working in the Classic Template. You should really be working in your own, unique template, so that you always have the Classic Template to fall back on to see what might be broken etc. and to prevent accidental overwrites on upgrades etc.

I had posted re: not building my personal template and how to do it after the fact. I followed the basic template setup but missing files as it did not look the same when I switched over. I had asked if there was a way to do it now.

I don't want the whole site secure, just trying to figure out why it wasn't switching to secure.
When I go back to the other config file it does not switch over to secure as you had noticed.