close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

2 Shipping Options

Thread began 4/20/2011 6:42 pm by scaphis417771 | Last modified 4/27/2011 3:21 pm by Jason Byrnes | 1928 views | 7 replies |

scaphis417771

2 Shipping Options

Is it possible to let a customer choose from 3 different UPS shipping options? Ground or Air?
If so, could you explain the process for completing this?

Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

On the checkout page, add the following select list:

<select name="UPS_Service" id="UPS_Service">
<option value="01">Next Day Air</option>
<option value="02">2nd Day Air</option>
<option value="03" selected>Ground</option>
</select>



then on the confirm page, locate the collection of hidden form elements near the bottom and add another one with the same name as the select list to capture the value posted from the checkout page:

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




then in the UPS Server behavior on the confirm page, click the lightning bolt next to service type and select the UPS_Service form element.

Sign in to reply to this post

scaphis417771

Great

Thank you, I really appreciate it.

Sign in to reply to this post

scaphis417771

Getting an Error Message

When I applied these changes to the testing server, I thought everything was working correctly; however, when I applied them to the live site. I get this error message using both CC and Paypal.

Missing/Illegal Service/Code

Thank you for your help

Sign in to reply to this post

Jason ByrnesWebAssist

my apologies, the code I gave for the hidden element to use on the confirm page:

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



is not correct, it should be:

php:
<input name="UPS_Service" type="hidden" id="UPS_Service" value="<?php echo((isset($_POST["UPS_Service"]))?$_POST["UPS_Service"]:""?>" />
Sign in to reply to this post

scaphis417771

Worked to a point

This seems to work if paying by credit card. But with Paypal Payments Pro when I log in it gives me the price of the item and when I go to pay I get "shopping cart is empty message."

Can you assist with this error?

Sign in to reply to this post

scaphis417771

PayPal Pro Error

When I try to submit a transaction using PayPal Pro it does not show the shipping on the confirm.php page and if I press checkout it says Your Transaction could not be completed.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

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