Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello Folks,

 

I recently installed your OS Commerce contribution?.thank you for this work.

 

I have installed all the suggestions provided but am getting a curl error [28] timeout?.log file below

 

UPS claims I need to parse the 2 requests?.what am I missing?

 

Thank you very much for looking

 

Michael Lupien

 

www.formulafirstracing.com/catalog

 

 

 

------------------------------------------

DATE AND TIME: 2006-01-11 11:35:08

UPS URL: https://wwwcie.ups.com:443/ups.app/xml/TimeInTransit

UPS REQUEST: <?xml version="1.0"?>

<AccessRequest xml:lang="en-US">

<AccessLicenseNumber>FBE319EDA49EBFA4</AccessLicenseNumber>

<UserId>*******</UserId>

<Password>*******</Password>

</AccessRequest>

<?xml version="1.0"?>

<TimeInTransitRequest xml:lang="en-US">

<Request>

<TransactionReference>

<CustomerContext>Time in Transit</CustomerContext>

<XpciVersion>1.0001</XpciVersion>

</TransactionReference>

<RequestAction>TimeInTransit</RequestAction>

</Request>

<TransitFrom>

<AddressArtifactFormat>

<PoliticalDivision2>TUCSON</PoliticalDivision2>

<PoliticalDivision1>AZ</PoliticalDivision1>

<CountryCode>US</CountryCode>

<PostcodePrimaryLow>85710</PostcodePrimaryLow>

</AddressArtifactFormat>

</TransitFrom>

<TransitTo>

<AddressArtifactFormat>

<PoliticalDivision2>Tucson</PoliticalDivision2>

<PoliticalDivision1>AZ</PoliticalDivision1>

<CountryCode>US</CountryCode>

<PostcodePrimaryLow>85710</PostcodePrimaryLow>

<PostcodePrimaryHigh>85710</PostcodePrimaryHigh>

</AddressArtifactFormat>

</TransitTo>

<PickupDate>20060112</PickupDate>

<ShipmentWeight>

<UnitOfMeasurement>

<Code>LBS</Code>

</UnitOfMeasurement>

<Weight>10</Weight>

</ShipmentWeight>

<InvoiceLineTotal>

<CurrencyCode>USD</CurrencyCode>

<MonetaryValue>100</MonetaryValue>

</InvoiceLineTotal>

</TimeInTransitRequest>

 

Error from cURL: Error [28]: connect() timed out!

UPS RESPONSE:

------------------------------------------

Time in Transit: 0

------------------------------------------

 

 

DATE AND TIME: 2006-01-11 11:36:08

UPS URL: https://wwwcie.ups.com:443/ups.app/xml/Rate

UPS REQUEST: <?xml version="1.0"?>

<AccessRequest xml:lang="en-US">

<AccessLicenseNumber>FBE319EDA49EBFA4</AccessLicenseNumber>

<UserId>******</UserId>

<Password>*****</Password>

</AccessRequest>

<?xml version="1.0"?>

<RatingServiceSelectionRequest xml:lang="en-US">

<Request>

<TransactionReference>

<CustomerContext>Rating and Service</CustomerContext>

<XpciVersion>1.0001</XpciVersion>

</TransactionReference>

<RequestAction>Rate</RequestAction>

<RequestOption>shop</RequestOption>

</Request>

<PickupType>

<Code>01</Code>

</PickupType>

<Shipment>

<Shipper>

<Address>

<City>TUCSON</City>

<StateProvinceCode>AZ</StateProvinceCode>

<CountryCode>US</CountryCode>

<PostalCode>85710</PostalCode>

</Address>

</Shipper>

<ShipTo>

<Address>

<City>Tucson</City>

<StateProvinceCode>AZ</StateProvinceCode>

<CountryCode>US</CountryCode>

<PostalCode>85710</PostalCode>

</Address>

</ShipTo>

<Package>

<PackagingType>

<Code>02</Code>

</PackagingType>

<PackageWeight>

<UnitOfMeasurement>

<Code>LBS</Code>

</UnitOfMeasurement>

<Weight>5.5</Weight>

</PackageWeight>

<PackageServiceOptions>

<InsuredValue>

<CurrencyCode>USD</CurrencyCode>

<MonetaryValue>2</MonetaryValue>

</InsuredValue>

</PackageServiceOptions>

</Package>

</Shipment>

<CustomerClassification>

<Code>01</Code>

</CustomerClassification>

</RatingServiceSelectionRequest>

 

 

Error from cURL: Error [28]: connect() timed out!

UPS RESPONSE:

------------------------------------------

Time in Transit: 0

------------------------------------------

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...