Git Product home page Git Product logo

Comments (8)

csaunders avatar csaunders commented on September 23, 2024

What is the difference between what we are generating and what the online calculator is generating?

Does the online generator give example XML on how to send the correct response? Until we get more information, all this issue tells us that we are using the API incorrectly somehow, but not how or why

from active_shipping.

shuhrat10 avatar shuhrat10 commented on September 23, 2024

I spent a lot of time to understand why price wrong
so, when run request: response = ups.find_rates(origin, destination,
packages)
we should add {:pickup_type => :customer_counter} after packages.
and also add account number, for example:
ups = UPS.new(login: 'login', password: 'password', key: 'key',
origin_account:
'ups account number'
)

then works like a charm, another feature which really need now.

when you run request, you cannot get price if your total packages more 50
items, it would be nice if the api can take care about that.

*For example: *if the total number of boxes is 70, then send two request
for 50 and 20 boxes and summarize the response amount and return the answer.

Thanks!

  • Shukhrat.

On Wed, Nov 20, 2013 at 3:51 PM, Christopher Saunders <
[email protected]> wrote:

What is the difference between what we are generating and what the online
calculator is generating?

Does the online generator give example XML on how to send the correct
response? Until we get more information, all this issue tells us that we
are using the API incorrectly somehow, but not how or why


Reply to this email directly or view it on GitHubhttps://github.com//issues/120#issuecomment-28929723
.

from active_shipping.

sachin004 avatar sachin004 commented on September 23, 2024

Hi @shuhrat10
FYI by default pickup_type is set to "daily_pickup"(options[:pickup_type] || :daily_pickup), so you have manually pass pickup_type in options otherwise you will get the rates for wholesale instead of retail.

from active_shipping.

csaunders avatar csaunders commented on September 23, 2024

@sachin004 so if I understand correctly this isn't an actual bug but more a crappy documentation problem?

from active_shipping.

sachin004 avatar sachin004 commented on September 23, 2024

@csaunders Yes, you are correct its more of a documentation issue. It would be helpful for new developers if we could provide basic information(like assumptions that we are making in the code base), which helps to avoid to go through entire code base.

from active_shipping.

sachin004 avatar sachin004 commented on September 23, 2024

@csaunders I think this issue can be closed now.

from active_shipping.

csaunders avatar csaunders commented on September 23, 2024

❤️Cool! Thanks for the feedback.❤️

I'm going to keep the issue open since there is a problem, it's just not a technical one. Updating docs will be required to close this.

from active_shipping.

shuhrat10 avatar shuhrat10 commented on September 23, 2024

yes, please update doc, I already find this option, forgot leave comment.

Thanks!

On Wed, Feb 5, 2014 at 11:26 AM, Christopher Saunders <
[email protected]> wrote:

[image: ❤️]Cool! Thanks for the feedback.[image: ❤️]

I'm going to keep the issue open since there is a problem, it's just not a
technical one. Updating docs will be required to close this.

Reply to this email directly or view it on GitHubhttps://github.com//issues/120#issuecomment-34201617
.

from active_shipping.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.