List Info

Thread: Shipping Addresses




Shipping Addresses
country flaguser name
United States
2007-09-07 07:11:01
Hi,

How can I match a particular shipping address with the
existing
shipping addresses I have for a customer in my system?

Our existing system depends on the shipping address going
into our
"shipping address" db with an ID to match this
ship address with the
customer. This not only allows the user to ship to a
remembered
shipping address while checking out, but additionally our
order
processing code DEPENDS on the shipping address being
there.

Since Google does not pass a shipping address ID with the
buyer-
shipping-address, I now have to check text fields and decide
if I
think this is a new shipping address or an update to an
existing one,
but having a shipping address ID would be MUCH better.

Thanks,
Ed


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "API Integration Basics" group.
To post to this group, send email to
google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Shipping Addresses
user name
2007-09-07 08:18:31
Hi

u can use this tag
http://code.google.com/apis/checkout/developer/index.html#tag_anonymous-address
note that will only go in the merchant-calculation call back, and is always the same for each buyers address (if the buyer upgrades address, the id changes)

you wont have that info in the newOrderNotification

And yes, the only way wolud be to check for all field in the address and check if the address is already in the buyers address book or is a new one

Check this code to see how i handle that in Zencart Implementation.
line 205+
http://google-checkout-zencart.googlecode.com/svn/branches/1.4.1beta/googlecheckout/responsehandler.php

hope this helps

ropu

On 9/7/07, Ed Eichman < ed.eichmangmail.com">ed.eichmangmail.com> wrote:

Hi,

How can I match a particular shipping address with the existing
shipping addresses I have for a customer in my system?

Our existing system depends on the shipping address going into our
"shipping address&quot; db with an ID to match this ship address with the
customer. This not only allows the user to ship to a remembered
shipping address while checking out, but additionally our order
processing code DEPENDS on the shipping address being there.

Since Google does not pass a shipping address ID with the buyer-
shipping-address, I now have to check text fields and decide if I
think this is a new shipping address or an update to an existing one,
but having a shipping address ID would be MUCH better.

Thanks,
Ed

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "API Integration Basics&quot; group.
To post to this group, send email to google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checkout-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---

Re: Shipping Addresses
country flaguser name
United States
2007-09-07 10:01:48
Thanks Ropu,

I don't currently implement merchant-calculation, but this
seems to be
the only reliable method to do what I want - thanks for the
tip!

I think this should be in the new order notification, too -
I'll add a
suggestion for the google guys.

Have a good one,
   Ed


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "API Integration Basics" group.
To post to this group, send email to
google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Shipping Addresses
country flaguser name
United States
2007-09-07 19:34:59
Ed, you can create IDs by simple applying crc32 on the
address.


----- Original Message ----- 
From: "Ed Eichman" <ed.eichmangmail.com>
To: "Google Checkout Developers Forum - API Integration
Basics" 
<google-checkout-api-integrationgooglegroups.com>
Sent: Friday, September 07, 2007 5:11 AM
Subject: [google-checkout-api-integration] Shipping
Addresses


>
> Hi,
>
> How can I match a particular shipping address with the
existing
> shipping addresses I have for a customer in my system?
>
> Our existing system depends on the shipping address
going into our
> "shipping address" db with an ID to match
this ship address with the
> customer. This not only allows the user to ship to a
remembered
> shipping address while checking out, but additionally
our order
> processing code DEPENDS on the shipping address being
there.
>
> Since Google does not pass a shipping address ID with
the buyer-
> shipping-address, I now have to check text fields and
decide if I
> think this is a new shipping address or an update to an
existing one,
> but having a shipping address ID would be MUCH better.
>
> Thanks,
> Ed
>
>
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "API Integration Basics" group.
To post to this group, send email to
google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Shipping Addresses
country flaguser name
United States
2007-09-10 03:56:26
Hi Robin,

Thanks for the tip. That's an easy way to see if an address
is exactly
the same. However, it does NOT help in the following case:
- Buyer sets up a delivery address (e.g. Buyer Bob send
ofoto picts to
his parents). This gets e.g. delivery address ID 123
- Buyer's dad runs off with his secretary, mom sues him for
all his
worth, and moves to Hawaii. Although GOOGLE knows that all
parts
(including name) of delivery address ID 123 changed, me
(using crc32)
sees this as a totally new delivery address.
- Buyer calls up to complain that, although they updated
their ofoto
delivery address, the API client's store has now set up TWO
addresses,
one of them useless. "Google gets it right - how come
my account with
you guys didn't get it?".

Have a good one,
Ed


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "API Integration Basics" group.
To post to this group, send email to
google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )