WordPress.org

Support

Support » Plugins and Hacks » WP eCommerce » [Resolved] UPS Integration

[Resolved] 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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mihai

    @misulicus

    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.

    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..

    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

    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…..

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] UPS Integration’ is closed to new replies.
Skip to toolbar