Title: UPS Integration
Last modified: August 21, 2016

---

# UPS Integration

 *  Resolved [intelisystems](https://wordpress.org/support/users/intelisystems/)
 * (@intelisystems)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/ups-integration/)
 * I am trying to integrate UPS with WP Ecommerce by put every information including
   XML API Key.
 * What is the difference between Show UPS negotiated rates and Singular Shipping
   in Shipping Setting?
 * I tried both of them but nothing shows up in check out process.
 * If I choose Use Testing Environment, I have the following error message:
 * _Error : The XML document is not well formed
    :: GetQuote ::DEBUG OUTPUT:: Arguments
   sent to UPSArray ( [username] => bmV3aGFyZHdhcmU= [password] => NDE3MVp4Y3Y= [
   api\_id] => RENDMDIyQjRCRjYwN0RENg== [account\_number] => Y23W36 [negotiated\
   _rates] => [residential] => 1 [singular\_shipping] => 0 [insured\_shipment] =
   > 0 [DropoffType] => 01 [packaging] => 01 [currency] => USD [shipr\_state] =>
   CA [shipr\_city] => Fullerton [shipr\_ccode] => US [shipr\_pcode] => 92833 [shipf\
   _state] => CA [shipf\_city] => Fullerton [shipf\_ccode] => US [shipf\_pcode] 
   => 92833 [units] => LBS [weight] => 18 [dest\_ccode] => US [dest\_pcode] => 20121[
   dest\_state] => VA [cart\_total] => 239 )
 * What am I supposed to do?
 * [http://wordpress.org/plugins/wp-e-commerce/](http://wordpress.org/plugins/wp-e-commerce/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Mihai Joldis](https://wordpress.org/support/users/misulicus/)
 * (@misulicus)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/ups-integration/#post-4156043)
 * Open the ups_20.php file
    wpsc-shipping / ups_20.php
 * Arrouund line 301 you should have :
 * `$xml .= "<" . trim( $key ) . ">";`
 * replace with
 * `$xml .= "</" . trim( $key ) . ">";`
 * Note: there are 2 instances of `$xml .= "<" . trim( $key ) . ">";` so make sure
   you replace the second one.
 *  Thread Starter [intelisystems](https://wordpress.org/support/users/intelisystems/)
 * (@intelisystems)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/ups-integration/#post-4156133)
 * Wow.. It is now working!!
    Thank you so much.
 * By the way, I still don’t know about Show UPS negotiated rates and Singular Shipping
   in Shipping Setting.
 * I have my own UPS account and what should I choose?
 * Thank you so much..
 *  [jrotella](https://wordpress.org/support/users/jrotella/)
 * (@jrotella)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/ups-integration/#post-4156233)
 * Thanks misculicus! I’m a bit further now… the UPS request comes back as Success02…
   but now I get
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/csuite/public_html/wp-content/plugins/wp-e-commerce/wpsc-shipping/ups_20.
   php:854) in /home/csuite/public_html/wp-includes/pluggable.php on line 875
 * And when I try to get to Settings > Store > Shipping it just spins and spins,
   so I can’t turn off this type of shipping.
 * Thoughts?
    Thanks! Joe
 *  [barback](https://wordpress.org/support/users/barback/)
 * (@barback)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/ups-integration/#post-4156255)
 * Thanks misulicus.
 * Be sure you change the second instance — but not both!
 * It’s so easy when you know there’s been a mistake — but the hours trying a thousand
   other things…..
 *  Thread Starter [intelisystems](https://wordpress.org/support/users/intelisystems/)
 * (@intelisystems)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/ups-integration/#post-4156265)
 * Thank you

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘UPS Integration’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-e-commerce_ebebeb.svg)
 * [WP eCommerce](https://wordpress.org/plugins/wp-e-commerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-e-commerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-e-commerce/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-e-commerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-e-commerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-e-commerce/reviews/)

## Tags

 * [shipping](https://wordpress.org/support/topic-tag/shipping/)
 * [ups](https://wordpress.org/support/topic-tag/ups/)

 * 5 replies
 * 4 participants
 * Last reply from: [intelisystems](https://wordpress.org/support/users/intelisystems/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/ups-integration/#post-4156265)
 * Status: resolved