close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Help with UPS Shipping

Thread begun 9/03/2010 10:46 am by ar_za405571 | Last modified 9/07/2010 3:20 pm by Jason Byrnes | 3194 views | 10 replies |

ar_za405571

Help with UPS Shipping

we would like too implement 2 options, currently only using ground shipping. In addition we now wish to have overnight shipping.

I can't find a rule in shipping that would make that possible.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

on the checkout page, add a select list to select the shipping service:

php:
<select name="UPS_Service" id="UPS_Service">
    <option value="01">Next Day Air</option>
    <option value="03" selected>Ground</option>
  </select>



on the confirm page, locate the other hidden form element, and add a new one to capture the value posted from the checkout page:

php:
<input name="UPS_Service" type="hidden" id="UPS_Service" value="<?php echo((isset($_POST["UPS_Service"]))?$_POST["UPS_Service"]:""?>" />




on the confirm page, you now need to store the selected shipping service in a session variable. Go to the server behaviors panel and click the plus button

Select eCart -> General -> Set Session Value.

for the trigger select any for post.

set the name to "UPS_Service"

for the value, click the lightning bolt and select the "UPS_Service" form element.


In the list of server behaviors, double click the UPS Shipping server behavior.

For the Service type, click the lightning bolt and select the "UPS_Service" session variable.

Sign in to reply to this post

ar_za405571

Thank you !

Sign in to reply to this post

ar_za405571

I did the changes as you indicated and it's not working. Probably due to this, since I am not sure where exactly it goes:
*********************
QUOTE from your reply:
on the confirm page, locate the other hidden form element, and add a new one to capture the value posted from the checkout page:
PHP Code:
<input name="UPS_Service" type="hidden" id="UPS_Service" value="<?php echo((isset($_POST["UPS_Service"]))?$_POST["UPS_Service"]:"") ?>" />
*********************

You say 'locate the other hidden form element', which other?

I really appreciate your help.

Sign in to reply to this post

Jason ByrnesWebAssist

on the confirm page click on the confirm order button in design view, then look in code view, you will see the other hidden form elements there.

Sign in to reply to this post

ar_za405571

I tried that while I waited for your reply, unfortunately it did not work. If I redirect to shipping failure page that's what I get , with error message 'ilegal' (dont remember the exact words, actually 3 words with / between them
in full report it contained our UPS pass ! so I had to remove the pages all together and reconfigure the cart back- not fun .

if I dont redirect it goes directly to gateway without any shipping .

We use payment gateway, Authorize Net and those are the form tags that are passed thru.

I will make one more attempt

Sign in to reply to this post

Jason ByrnesWebAssist

If you could post the exact error message, it would go a long way to helping me determine the cause of the problem.

If you still have a problem, post the error message and a copy of the checkout and confirm pages in a zip archive.

Sign in to reply to this post

ar_za405571

Thanks Jason
This is the error:

Shipping Quote Request Failed

Missing/Illegal Service/Code

Rating and Service1.00010FailureHard110500
Missing/Illegal Service/Code

I will prepare the zip in case this is not helpful (will prepare zip,remove Pass/Key)

Sign in to reply to this post

Jason ByrnesWebAssist

OK, awaiting the zip file.

Sign in to reply to this post

ar_za405571

attached

Thanks Jason !
let me know if you need any other file

I assume that the old shipping rule needs to be deactivated in the cart, correct? I did ,

because I see a new one created after the new shipping configuration was set

(I must admit I even tried leaving both active in case that was reason for error.. but no luck. So I left the new rule activated only)

Do you think maybe the rule needs a different setting?
Now its: "UPS shipping quote!=0
based on UPS shipping quote vallue

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...