WordPress.org

Forums

WP eCommerce
[resolved] UPS Integration (6 posts)

  1. intelisystems
    Member
    Posted 1 year ago #

    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/

  2. Mihai
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. intelisystems
    Member
    Posted 1 year ago #

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

  4. jrotella
    Member
    Posted 1 year ago #

    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

  5. barback
    Member
    Posted 1 year ago #

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

  6. intelisystems
    Member
    Posted 1 year ago #

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags