0
votes

With Google Checkout, is there any way to pass in a default shipping address that can't be changed?

I don't want the user to change this as the tax and shipping options are already calculated in the application. Web services from google to my application aren't an option either for other reasons that I don't need to get into.

Thanks.

Edit

I'm using version 2.5, and the GCheckout project 2.5.0.3 (.Net sample code library) to generate the checkout button. I don't see any options on the CheckoutShoppingCartRequest object to specify a shipping address.

1

1 Answers

0
votes

It's a roundabout way, but I think you can add a merchant-calculated shipping method with your precalculated shipping, and set ShippingRestrictions on that method. Your restrictions can limit to certain zip codes, so if you limit it to only the zipcode that the user specified, it should prevent them using this shipping method against any other address.