Billing and Shipping address
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Billing and Shipping address

 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server
Author Message
DouglasGG
Guest





Posted: Tue Aug 09, 2005 4:52 pm    Post subject: Billing and Shipping address Reply with quote

On the checkoutshipping.aspx screen, we have a list box where the user can
select one of his addresses as the shipping address. As the program works
right now, it ignores this selection and always uses your Preferred address.

Tracing through the code I can tell that it does initially set the shipping
address correctly, but then it gets undone. I have the feeling it is because
we are using the Address Selector (AddressSelector.cs) on more than one
screen. We also use it again on our checkoutpayment.aspx page for the user
to have a choice of selecting a different billing address.

Has anyone else had a problem with having the user being able to change
their billing and shipping address to be different from their Preferred
Address?

Thanks,
Doug
Back to top
Joe Wasson [MSFT]
Guest





Posted: Wed Aug 17, 2005 8:52 pm    Post subject: RE: Billing and Shipping address Reply with quote

I assume that this is with the Commerce Server 2002 Starter Site?

The AddressSelector control shouldn't be setting the shipping address (or
any address in your order form) automatically, therefore it should be safe
to use this on multiple pages.

One possible explanation is that you aren't setting "SelectedAddress" in
your Page_Load event. The control automatically "selects" the preferred
address if "SelectedAddress" has not been set. In your Page_Load event you
should set SelectedAddress to whichever address the user has already
selected for the shipping address (or null if no address has been selected
yet).

If that doesn't solve your question I'll need more information. Are you
using the CheckoutShipping page as-is (separate address per line item), or
are you modifying it to take a single shipping address for the entire
order? Are there any changes made to the site that might affect this
functionality?

-joe

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?RG91Z2xhc0dH?= <DouglasGG@discussions.microsoft.com>
Subject: Billing and Shipping address
Date: Tue, 9 Aug 2005 06:08:02 -0700

On the checkoutshipping.aspx screen, we have a list box where the user can
select one of his addresses as the shipping address. As the program works
right now, it ignores this selection and always uses your Preferred
address.

Tracing through the code I can tell that it does initially set the shipping
address correctly, but then it gets undone. I have the feeling it is
because
we are using the Address Selector (AddressSelector.cs) on more than one
screen. We also use it again on our checkoutpayment.aspx page for the user
to have a choice of selecting a different billing address.

Has anyone else had a problem with having the user being able to change
their billing and shipping address to be different from their Preferred
Address?

Thanks,
Doug
Back to top
DouglasGG
Guest





Posted: Thu Aug 18, 2005 8:52 pm    Post subject: RE: Billing and Shipping address Reply with quote

That did the trick, setting the shipping address in the load event. Just to
let you know, we are using the MSIB21 site...I came in at mid-project, so I
don't know what changes were made to the site in regards to the checkout
pages...

Thanks again,
Doug

"Joe Wasson [MSFT]" wrote:

Quote:
I assume that this is with the Commerce Server 2002 Starter Site?

The AddressSelector control shouldn't be setting the shipping address (or
any address in your order form) automatically, therefore it should be safe
to use this on multiple pages.

One possible explanation is that you aren't setting "SelectedAddress" in
your Page_Load event. The control automatically "selects" the preferred
address if "SelectedAddress" has not been set. In your Page_Load event you
should set SelectedAddress to whichever address the user has already
selected for the shipping address (or null if no address has been selected
yet).

If that doesn't solve your question I'll need more information. Are you
using the CheckoutShipping page as-is (separate address per line item), or
are you modifying it to take a single shipping address for the entire
order? Are there any changes made to the site that might affect this
functionality?

-joe

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?RG91Z2xhc0dH?= <DouglasGG@discussions.microsoft.com
Subject: Billing and Shipping address
Date: Tue, 9 Aug 2005 06:08:02 -0700

On the checkoutshipping.aspx screen, we have a list box where the user can
select one of his addresses as the shipping address. As the program works
right now, it ignores this selection and always uses your Preferred
address.

Tracing through the code I can tell that it does initially set the shipping
address correctly, but then it gets undone. I have the feeling it is
because
we are using the Address Selector (AddressSelector.cs) on more than one
screen. We also use it again on our checkoutpayment.aspx page for the user
to have a choice of selecting a different billing address.

Has anyone else had a problem with having the user being able to change
their billing and shipping address to be different from their Preferred
Address?

Thanks,
Doug
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Commerce Server All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB