close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

FedEx Quotes and Checkout holding information

Thread began 6/09/2011 2:33 pm by eric284736 | Last modified 6/10/2011 11:20 am by Jason Byrnes | 856 views | 5 replies |

eric284736

FedEx Quotes and Checkout holding information

Hi,

I am trying to setup Fed Ex shipping and I have the Account # and Meter #, but it does not display a shipping quote from FedEx. The confirm page is attached as well as the FedEx php page.

Also on the checkout page I am trying to bind the fields to retain the information entered, but it does not work.

The First Name field is binding to the checkout form session and the other fields were originally binded to the checkout form.

What am I doing wrong?

thx
Eric

Attached Files
New Folder.zip
Sign in to reply to this post

Jason ByrnesWebAssist

in the fedex server behavior, you have provided a ship to state of "none" and no zip code:

$Shipping_Parameters["ShiptoState"] = "none";
$Shipping_Parameters["ShiptoZip"] = "";


fed ex can look up a shipping rate to "none", yu need to provide a valid ship to State or zip.


the only set session code I see on the confirm page is lines 9 - 32:

php:
<?php

if (!session_id()) session_start();
if(
$_SERVER["REQUEST_METHOD"] == "POST")     {
  
$_SESSION["eCartCheckoutForm_state_province"] = "".((isset($_POST["state_province"]))?$_POST["state_province"]:"")  ."";
}
?>
<?php
if (!session_id()) session_start();
if(
$_SERVER["REQUEST_METHOD"] == "POST")     {
  
$_SESSION["eCartCheckoutForm_country"] = "".((isset($_POST["country"]))?$_POST["country"]:"")  ."";
}
?>
<?php
if (!session_id()) session_start();
if(
$_SERVER["REQUEST_METHOD"] == "POST")     {
  
$_SESSION["eCartCheckoutForm_shipping_state_province"] = "".((isset($_POST["shipping_state_province"]))?$_POST["shipping_state_province"]:"")  ."";
}
?>
<?php
if (!session_id()) session_start();
if(
$_SERVER["REQUEST_METHOD"] == "POST")     {
  
$_SESSION["eCartCheckoutForm_shipping_country"] = "".((isset($_POST["shipping_country"]))?$_POST["shipping_country"]:"")  ."";
}
?>




the code to set the other sessions is missing from this page.

Sign in to reply to this post

eric284736

Thanks Jason!

I am just moving over to php from asp, so I am trying to get a handle on everything.

You might know the answer to this also:

I have the OrderDate in the database set as timestamp, but on a test order the date came in as 2006-09-11 00:00:00

Is that something I can correct?

thx
Eric

Sign in to reply to this post

Jason ByrnesWebAssist

the time stamp format is yyyy-mm-dd hh:mm:ss


in the store order summary you are using the php data command to pass the date suing the mm/dd/yy format instead

date("m/d/y")


change that to pass the correct format:
date("Y-m-d h:m:s")

Sign in to reply to this post

eric284736

Excellent! Thank you Jason!!!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...