Ruby Shipping Gem Setup

P

PJ Kelly

Hi There,

I'm new to the list, and found some posts on this topic, but never any
answers to the questions, so I'm gonna try posting again.

I'm trying to setup the ruby shipping gem, and can't figure out how to
configure parts of it. I've followed the setup instructions in the
O'Reilly Ruby Cookbook and the gem documentation.

For the UPS part of it i need to provide values for ups_account,
ups_user, and ups_password. I assume these keys equate to the following:

ups_account = account number
ups_user = the username I login to the ups admin area with
ups_password = the password I login to the ups admin area with

I've tried this configuration, but it always returns a price of 0. The
response object contains the following:

response_plain="UPSOnLine5%Missing ActionCode%6837n"
response="UPSOnLine5%Missing ActionCode%6837n",
data="AppVersion=1.2&AcceptUPSLicenseAgreement=yes&ResponseType=application/x-ups-rss&ActionCode=3&RateChart=Customer+Counter&DCISInd=0&SNDestinationInd1=0&SNDestinationInd2=0&ResidentialInd=$r&PackagingType=00&ServiceLevelCode=GND&ShipperPostalCode=90701&ShipperCountry=US&ConsigneePostalCode=60202&ConsigneeCountry=US&PackageActualWeight=2&DeclaredValueInsurance=0",

I don't know what Missing Action Code refers to, but I'm thinking it
means maybe I'm using the wrong login credentials. I also have a
Developer's Key and an XML Access Key for the account, and have tried
them in place of the password and/or account number, but i get the same
response all the time.

On the FedEx side of things, i can't figure out how to generate the
required meter number for the account. FedEx says it has to be generated
by the software that is accessing the FedEx api, but I haven't been able
to find any method of generating it from within the gem.

Anyone have any experience with this gem? Any suggestions? Any help
would be much appreciated.

Best, PJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,086
Latest member
ChelseaAmi

Latest Threads

Top