Here is a PHP dump from a submit on both pages.
Direct from UPS's online page for consumers with our similar information
submitted
as well as our page and what it is submitting.  Works fine for current
date, and
PHP capture indicates we are submitting the correct shipDATE and
earlyDATES, but
they must be capturing the information elsewhere.

They have changed several field names in the change, but it seems to
capture those
just fine. Its the ShipDATE that seems to be the issue.

Our URL for this would be:
http://onlytoys.com/shippinghelperN.taf?_function=UPSWeight&orderid=37970

The second ShipDate is the EarlyPickDate, as we were not sure that
missing this
field was not causing the problem.

Stephen

Here are the results sorted by argument name.
Notice we're posting 14_origCountry  not orgCountry etc.

UPS Array
(
    [US_ORIGIN] => true
    [_billToUPS] => checked
    [_container] => -1
    [_dropOffChoice] => DP
    [_height1] => 9
    [_length1] => 12
    [_packages] => 1
    [_width1] => 7
    [billToUPS] => checked
    [container] => 02
    [currency] => USD
    [customValue] =>
    [destCity] => WEST COLUMBIA
    [destCountry] => US
    [destPostal] => 29170
    [document] => 02
    [dropOffChoice] => DP
    [earlyPickDate] => 2004-01-13
    [height1] =>
    [length1] =>
    [loc] => en_US
    [metricUnit] => in.
    [origCity] => MEMPHIS
    [origCountry] => US
    [origCurrency] => USD
    [origPostal] => 38115
    [packages] => 1
    [page] => shipping/qcc/tnc(2pac).html
    [rateSummaryPackages_x] => 15
    [rateSummaryPackages_y] => 3
    [session_service_row_0] => TnTService:::::::::::::::::::: ::::
    [session_service_row_1] =>
TnTService::1DM::true::2004-01-14::08\\:30\\:00::1::::::::F::2004-01-13::UP
S Next Day Air Early A.M.::F
    [session_service_row_2] =>
TnTService::1DA::true::2004-01-14::10\\:30\\:00::1::::::::F::2004-01-13::UP
S Next Day Air::F
    [session_service_row_3] =>
TnTService::1DP::true::2004-01-14::15\\:00\\:00::1::::::::F::2004-01-13::UP
S Next Day Air Saver::F
    [session_service_row_4] =>
TnTService::2DM::true::2004-01-15::12\\:00\\:00::2::::::::F::2004-01-13::UP
S 2nd Day Air A.M.::F
    [session_service_row_5] =>
TnTService::2DA::true::2004-01-15::23\\:00\\:00::2::::::::F::2004-01-13::UP
S 2nd Day Air::F
    [session_service_row_6] =>
TnTService::GND::true::2004-01-15::23\\:00\\:00::2::::::::F::2004-01-13::UP
S Ground::F
    [shipDate] => 2004-1-13
    [total_services] => 7
    [value1] =>
    [weight] => 5
    [weight1] => 5
    [weightType] => LBS
    [weightUnit] => LBS
    [width1] =>
)



Only Toys Array
(
    [10_action] => 4
    [14_origCountry] => US
    [15_origPostal] => 38115
    [19_destPostal] => 29170
    [20_destCity] => West Columbia
    [22_destCountry] => US
    [23_weight] => 5
    [25_length] => 12
    [26_width] => 9
    [27_height] => 7
    [47_rate_chart] => Regular Daily Pickup
    [48_container] => 02
    [HTMLTOOL2] => Calculate
    [accept_UPS_license_agreement] => Yes
    [destResident] => 01
    [earlyPickDate] => 2004-01-13
    [length_std] => IN
    [nonUPS_body] => BGCOLOR=\"#FFFFFF\"
    [nonUPS_dark_color] => 888888
    [nonUPS_footer] => <b>�2004 OnlyTOYS.com</b>
    [nonUPS_header] => <TABLE WIDTH=\"450\" BORDER=\"0\"><TR><TD>
             <IMG
SRC=\"http://www.onlytoys.com/images/home.gif\";></TD><TD><H1>OnlyTOYS.COM</
H1></TD></TR></TABLE>
    [nonUPS_light_color] => DDDDDD
    [nonUPS_title] =>
    [orig_location] => +%23MEMPHIS%23TN%2338115
    [shipDate] => 2004-01-13
    [weight_std] => LBS
)




>can you post the code that actually communicates with UPS?  Be sure to *****
>out any sensitive info such as passwords, etc.
>
>> -----Original Message-----
>> From: Witango - OnlyTOYS [mailto:[EMAIL PROTECTED]
>> Sent: Saturday, January 10, 2004 3:14 PM
>> To: [EMAIL PROTECTED]
>> Subject: RE: Witango-Talk: RE: DateRange in UPS Html Tool Shipping Calc
>>
>>
>> Still running Web* 4.5, Witango 2000, and FMP 4.
>> We're setting up new servers to upgrade to OS X, Apache, Witango 5.5 and
>> FMP 6, with perhaps a change to MySQL backend and a FMP frontend.  Soon
>> we need to contact Phil for a testing SN for the server (Dual 1.25G G4)
>>
>> All is now formatted correctly, but the shipDATE is not passing to UPS,
>> only the CURRENTDATE of 01/10/04  even if we select a different date.
>>
>> Stephen
>>
>> >What server version are you using.
>> >
>> >This is the output of Witango Application Server 5.0.1.065
>> >
>> >    <option SELECTED value="2004-01-10">
>> >            Saturday, January, 10,2004
>> >
>> >Using the code below
>> >
>> ><select name=shipDate2>
>> ><@FOR START="-5" STEP="1" STOP="14">
>> >    <option <@IF EXPR="<@CURROW> = 0" TRUE="SELECTED" FALSE="">
>> >value="<@DAYS DATE='<@CURRENTDATE>' DAYS='<@CURROW>'
>> >FORMAT='datetime:%Y-%m-%d'>">
>> >            <@DAYS DATE='<@CURRENTDATE>' DAYS='<@CURROW>'
>> >FORMAT='datetime:%A, %B, %d,%Y'>
>> >    </option>
>> ></@FOR>
>> ></select>
>> >
>> >It is formatting as you wanted
>> >
>> >Ben Johansen - http://www.pcforge.com
>> >Authorized Witango & MDaemon Reseller
>> >Available for Witango Developement
>> >
>> >
>> >-----Original Message-----
>> >From: Witango - OnlyTOYS [mailto:[EMAIL PROTECTED]
>> >Sent: Saturday, January 10, 2004 1:55 PM
>> >To: [EMAIL PROTECTED]
>> >Subject: RE: Witango-Talk: RE: DateRange in UPS Html Tool Shipping Calc
>> >
>> >Link to example (TAF is in test mode with the "N" in the name)
>> >http://onlytoys.com/shippinghelperN.taf?_function=UPSWeight&orderid=3797
>> >0
>> >
>> >Date is formatting in the select box as  01/10/2004  rather than
>> >Saturday, January 10, 2004.
>> >Also if we select a different date, it is not passing through to the UPS
>> >
>> >server.
>> >The Source also shows the format as 01/10/2004 instead of %Y-%m-$d
>> >2004-1-10
>> >
>> >We appreciate all the help. UPS changed the coding for Quick Cost and
>> >Time in Transit on 1/1/04, combining them into one function, which is
>> >great - but they didn't tell anyone and haven't released a new tool to
>> >users.  We use this function from our FMP DB about 100 times a day.
>> >
>> >Stephen
>> >
>> >>Oops had extra '>' in value, sorry
>> >>
>> >><select name=shipDate>
>> >><@FOR START="-5" STEP="1" STOP="14">
>> >>   <option value="<@DAYS DATE='<@CURRENTDATE>' DAYS='<@CURROW>'
>> >>FORMAT='datetime:%Y-%m-%d'>">
>> >>           <@DAYS DATE='<@CURRENTDATE>' DAYS='<@CURROW>'
>> >>FORMAT='datetime:%A, %B, %d,%Y'>
>> >>   </option>
>> >></@FOR>
>> >></select>
>> >>
>> >>
>> >>Ben Johansen - http://www.pcforge.com
>> >>Authorized Witango & MDaemon Reseller
>> >>Available for Witango Developement
>> >>
>> >>
>> >>-----Original Message-----
>> >>From: Ben Johansen [mailto:[EMAIL PROTECTED]
>> >>Sent: Saturday, January 10, 2004 1:12 PM
>> >>To: [EMAIL PROTECTED]
>> >>Subject: RE: Witango-Talk: RE: DateRange in UPS Html Tool Shipping Calc
>> >>
>> >>You were missing = after the FORMAT statement
>> >>
>> >>Here is a quicker way
>> >>
>> >><select name=shipDate>
>> >><@FOR START="-5" STEP="1" STOP="14">
>> >>   <option value="<@DAYS DATE='<@CURRENTDATE>' DAYS='<@CURROW>'
>> >>FORMAT='datetime:%Y-%m-%d>'>">
>> >>           <@DAYS DATE='<@CURRENTDATE>' DAYS='<@CURROW>'
>> >>FORMAT='datetime:%A, %B, %d,%Y'>
>> >>   </option>
>> >></@FOR>
>> >></select>
>> >>
>> >>
>> >>Ben Johansen - http://www.pcforge.com
>> >>Authorized Witango & MDaemon Reseller
>> >>Available for Witango Developement
>> >>
>> >>
>> >>-----Original Message-----
>> >>From: Witango - OnlyTOYS [mailto:[EMAIL PROTECTED]
>> >>Sent: Saturday, January 10, 2004 12:46 PM
>> >>To: [EMAIL PROTECTED]
>> >>Subject: Witango-Talk: RE: DateRange in UPS Html Tool Shipping Calc
>> >>
>> >>Got most of new UPS Html tool to work now, but we still need to submit
>> >>the value= "shipDate"
>> >>
>> >>We have entered the following currentdate calcs, but the results show
>> >>only the Current Date and if we select a different value, it doesn't
>> >>change.
>> >>
>> >>Anyone tell us what we've done wrong. I know its probably a stupid
>> >>error:
>> >>
>> >>Code is:
>> >>
>> >><select name=shipDate>
>> >>                <option value="<@DAYS DATE='<@CURRENTDATE>' DAYS='-5'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='-4'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='-3'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='-2'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='-1'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                <option SELECTED value="<@CURRENTDATE
>> >>FORMAT='datetime:%Y-%m-%d' FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE
>> >>FORMAT'datetime:%A, %B, %d, %Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='1'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='2'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='3'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='4'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='5'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='6'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='7'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='8'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='9'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='10'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='11'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='12'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='13'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>                           <option value="<@DAYS
>> >>DATE='<@CURRENTDATE>' DAYS='14'
>> >>FORMAT'datetime:%Y-%m-%d>"><@CURRENTDATE FORMAT'datetime:%A, %B, %d,
>> >>%Y'></option>
>> >>              </select>
>> >>
>> >>Thanks, Stephen
>> >>
>> >>_______________________________________________________________________
>> >_
>> >>TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>> >>
>> >>
>> >>_______________________________________________________________________
>> >_
>> >>TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>> >>
>> >>
>> >>_______________________________________________________________________
>> >_
>> >>TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>> >
>> >________________________________________________________________________
>> >TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>> >
>> >
>> >________________________________________________________________________
>> >TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>>
>> ________________________________________________________________________
>> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>>
>
>________________________________________________________________________
>TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to