Erorr accessing the variable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ajd335
    New Member
    • Apr 2008
    • 123

    Erorr accessing the variable

    Hey..

    i have one doubt with the shipping module on which I am working on...
    I have created one orderform.php form from which the user can enter the package informations and Ship To address. I have retrive that all data from order.php form and fill in the database , then i have calles UPS XML module for calculation. All went well . But the thing is , if i write

    Code:
     <StateProvinceCode>$state</StateProvinceCode> or
     <CountryCode>$country</CountryCode>
    It will give me a Fatal error that
    Shipping1.00010 FailureHard1102 06Missing/Illegal ShipTo/Address/StateProvinceCo de
    ..... The data regarding package weight and the postal code does not create any problems....And ya , if I explicitly feed the state and country field , than it will work well with taking the weight and postal code , which user have entered.

    Why It's like that ? I tried all possible things ...
    Thanks.
Working...