Jump to content

Error migrating to RateV4 with USPS shipping module


darkvo5

Recommended Posts

Someone please help! I am using Cube Cart 3. I followed the instructions above and changed all instances of RateV3 to RateV4 and IntlRate to IntlRateV2 in both the modules/shipping/USPS.php file and modules/shipping/class.usps.php

 

I tried then to modify the class file underneath the "country" line as indicated above but doing so shuts down our entire site. I tried working with the code a bit and changing some things around but get the same outcome.

 

When trying to check out, I am still getting the following error:

 

Request XML:

<IntlRateRequest USERID="PurposefullyRemoved" PASSWORD="PurposefullyRemoved"></IntlRateRequest>

Return XML:

<?xml version="1.0" encoding="UTF-8"?>

 

<Error><Number>-2147221202</Number><Source>Common:XmlParse</Source><Description>The element 'IntlRateRequest' has incomplete content. List of possible elements expected: 'RateClientType, Package'.</Description><HelpFile/><HelpContext/></Error>

 

Please help!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...