true, // QSF logs 'testMode' => true, 'location' => 'https://www.ups.com/ups.app/xml/Rate', 'locationTest' => 'https://wwwcie.ups.com/ups.app/xml/Rate', /* UPS credentials are made up of 4 distinct values- user id, password, access key (license number) * and shipper number. Shipper number is optional, but including can affect which rates are returned. * */ 'userName' => 'gnat1986', //client's login password for ups.com 'password' => '1NSP1R0n', //UPS.com user ID (client's ups account #) 'accessKey' => 'DC9F48B860D67D18', //UPS OnLine Tools Developer Access # (xml access key) //'shipperNumber' => '', 'version' => '1.0001', /* A "Rate" request returns the rate for a single service for each package, * while a "Shop" request returns the rates for all services * available between a given origin/destination pair for each package. * * Rate - max of 200 packages per shipment * Shop - max of 50 packages per shipment */ 'requestAction' => 'Rate', 'requestOption' => 'Rate', 'packageWeightLimit' => 150, // Valid values: 0.1 - 150.0 'unitOfMeasurementCode' => 'LBS', //LBS = Pounds, KGS = Kilograms /* * Container for Insured Value Type */ 'insurance' => false, /* * Service Codes (by Country) * * US Origin (US) * * 01 - UPS Next Day Air * 02 - UPS 2nd Day Air * 03 - UPS Ground * 07 - UPS Worldwide Express * 08 - UPS Worldwide Expedited * 11 - UPS Standard * 12 - UPS 3 Day Select * 13 - UPS Next Day Air Saver * 14 - UPS Next Day Air Early A.M. * 54 - UPS Worldwide Express Plus * 59 - UPS 2nd Day Air A.M. * 65 - UPS Saver * * Canada Origin (CA) * * 01 - UPS Express * 02 - UPS Expedited * 07 - UPS Worldwide Express * 08 - UPS Worldwide Expedited * 11 - UPS Standard * 12 - UPS 3 Day Select * 13 - UPS Saver * 14 - UPS Express Early A.M. * 54 - UPS Worldwide Express Plus * 65 - UPS Saver * * European Union Origin (EU) * * 07 - UPS Express * 08 - UPS Expedited * 11 - UPS Standard * 54 - UPS Worldwide Express Plus * 65 - UPS Saver * * next five services Poland domestic only * * 82 - UPS Today Standard * 83 - UPS Today Dedicated Courier * 84 - UPS Today Intercity * 85 - UPS Today Express * 86 - UPS Today Express Saver * * Puerto Rico Origin (PR) * * 01 - UPS Next Day Air * 02 - UPS 2nd Day Air * 03 - UPS Ground * 07 - UPS Worldwide Express * 08 - UPS Worldwide Expedited * 14 - UPS Next Day Air Early A.M. * 54 - UPS Worldwide Express Plus * 65 - UPS Saver * * Mexico Origin (MX) * * 07 - UPS Express * 08 - UPS Expedited * 54 - UPS Express Plus * 65 - UPS Saver * * All other origins * * 07 - UPS Express * 08 - UPS Worldwide Expedited * 11 - UPS Standard * 54 - UPS Worldwide Express Plus * 65 - UPS Saver * */ 'serviceCodes' => array( '03' => 'UPS Ground', '12' => 'UPS 3 Day Select', '02' => 'UPS 2nd Day Air', '13' => 'UPS Next Day Air Saver' ), /* Shipper Default Pickup Type * * 01 - Daily Pickup * 03 - Customer Counter * 06 - One Time Pickup * 07 - On Call Air Pickup * 11 - Suggested Retail Rates (UPS Store) * 19 - Letter Center * 20 - Air Service Center * */ 'pickupType' => '06', /* Customer Classification * * 01 - Wholesale * 03 - Occasional * 04 - Retail * The default value is "01"(wholesale) when Pick Type code is "01"(daily pickup) * The default value is "03"(occasional) when Pick Type code is "06"(One Time Pickup) * "07"(On Call Air Pickup), "19"(Letter Center), "20"(Air Service Center) * The default value is "04"(Retail) when Pick Type code is "03"(Customer Counter) */ 'classification' => '03', /* Packaging types * * 00 - Customer Packaging | Related Service Codes: * | Within US: 01 (Next Day Air), 13 (Next Day Air Saver), 12 (3 Day Select), * | 59 (2nd Day Air AM), 03 (Ground), 14 (Next Day Air Early AM), * | 02 (2nd Day Air) * | From US: 07 (Worldwide Express), 54 (Worldwide Express Plus), * | 08 (Worldwide Expedited), 65 (Worldwide Saver), 11 (Standard) * * 2a - Small Express Box | Related Service Codes: * 2b - Medium Express Box | Within US: 01 (Next Day Air), 13 (Next Day Air Saver), * 2c - Large Express Box | 14 (Next Day Air Early AM), 02 (2nd Day Air), 59 (2nd Day Air AM), * 03 - UPS Tube | From US: 07 (Worldwide Express), 54 (Worldwide Express Plus), * | 08 (Worldwide Expedited), 65 (Worldwide Saver) * * 24 - UPS Worldwide 25 kilo | Related Service Codes: * 25 - UPS Worldwide 10 kilo | Within US: NONE * | From US: 07 (Worldwide Express), 54 (Worldwide Express Plus), * | 65 (Worldwide Saver) * * 01 - UPS Letter Envelope | Related Service Codes: * 04 - UPS PAK | Within US: 01 (Next Day Air), 14 (Next Day Air Early AM), 02 (2nd Day Air), * | 59 (2nd Day Air AM), 13 (Next Day Air Saver) * | From US: 07 (Worldwide Express), 54 (Worldwide Express Plus), * | 65 (Worldwide Saver) * * 04 - UPS PAK | +From US: 08 (Worldwide Expedited) */ 'packagingType' => '00', /* Dimensions * * Required if Packaging Type in not Letter, Express Tube, * or Express Box; Required for GB to GB and Poland to Poland shipments * * 'unitOfMeasurementCode' => 'IN' // Valid codes are: IN, CM * * */ /* * CURL options */ 'CURLOPT_HEADER' => false, 'CURLOPT_POST' => true, 'CURLOPT_TIMEOUT' => 60, 'CURLOPT_RETURNTRANSFER' => true, 'CURLOPT_SSL_VERIFYPEER' => false, /* * Default Options */ 'defaultShipperCountry' => 'US', 'defaultShipToCountry' => 'US' );