List Info

Thread: Message serial numbers




Message serial numbers
country flaguser name
United States
2007-05-30 07:55:38
Please, somebody explain to me the following case.

Google sends XML message to my server's callback URL. AFAIK,
every
message have it's own serial number. But what happens if my
server
replies with 500 HTTP status? I know, that Google will send
the same
XML message again later, but will this message have the same
serial-
number, or different?

Thank you in advance for help.


--~--~---------~--~----~------------~-------~--~----~
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: Message serial numbers
user name
2007-05-30 08:07:41
hi

im pretty sure that the serial number should be different. why? because the idea of the serial number is NOT to identify the data in the message but the message uniquely. So if GC must send one message more than once, it will put different serial-numbers.
Imagen that to the first message u respond with a 500 and the second with a 200, both with the same data, how google will differentiate them if they have the same SN? they are different, both the same data but they dont have the same state.


do u get my point?

hope this helps

ropu

On 5/30/07, Rebus < avseiankogmail.com">avseiankogmail.com> wrote:

Please, somebody explain to me the following case.

Google sends XML message to my server';s callback URL. AFAIK, every
message have it's own serial number. But what happens if my server
replies with 500 HTTP status? I know, that Google will send the same
XML message again later, but will this message have the same serial-
numhober, or different?

Thank you in advance for help.

--~--~---------~--~----~------------~-------~--~----~
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: Message serial numbers
country flaguser name
United States
2007-06-01 02:16:04


On 30 อมส, 17:07, Ropu <rovagn...gmail.com> wrote:
> hi
>
> im pretty sure that the serial number should be
different. why? because the
> idea of the serial number is NOT to identify the data
in the message but the
> message uniquely. So if GC must send one message more
than once, it will put
> different serial-numbers.
> Imagen that to the first message u respond with a 500
and the second with a
> 200, both with the same data, how google will
differentiate them if they
> have the same SN? they are different, both the same
data but they dont have
> the same state.
>
> do u get my point?
>
> hope this helps
>
> ropu
>
> On 5/30/07, Rebus <avseia...gmail.com> wrote:
>

It's very good if it's working as you described. But I've
noticed,
that sometimes Google sends exactly the same message more
than one
time. I'm now filtering such a "second copies",
but not really sure -
am I really right doing this. 


--~--~---------~--~----~------------~-------~--~----~
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: Message serial numbers
user name
2007-06-01 07:15:47
Ive had some reports of double new order notifications...
this is ur issue too??

could u confirm that?

if so, please post the serial-numbers of the message so google eng guys can check it!

thx!

ropu

On 6/1/07, Rebus < avseiankogmail.com">avseiankogmail.com> wrote:



On 30 อมส, 17:07, Ropu < rovagn...gmail.com">rovagn...gmail.com> wrote:
>; hi
>
&gt; im pretty sure that the serial number should be different. why? because the
> idea of the serial number is NOT to identify the data in the message but the
> message uniquely. So if GC must send one message more than once, it will put
> different serial-numbers.
> Imagen that to the first message u respond with a 500 and the second with a
> 200, both with the same data, how google will differentiate them if they
> have the same SN? they are different, both the same data but they dont have
> the same state.
>;
> do u get my point?
>;
> hope this helps
>
> ropu
>
> On 5/30/07, Rebus < avseia...gmail.com">avseia...gmail.com> wrote:
>;

It's very good if it's working as you described. But I've noticed,
that sometimes Google sends exactly the same message more than one
time. I'm now filtering such a "second copies&quot;, but not really sure -
am I really right doing this.

--~--~---------~--~----~------------~-------~--~----~
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: Message serial numbers
country flaguser name
United States
2007-06-01 10:44:23

>> It's very good if it's working as you described.
But I've noticed, that sometimes Google sends exactly the
same message more than one time. I'm now filtering such a
"second copies", but not really sure - am I really
right doing this. 
 
Then you must not be ACKing receipt of the notification.

Tony

http://www.ez-order-m
anager.com

-----Original Message-----
From: google-checkout-api-integrationgooglegroups.com
[mailto:google-checkout-api-integrationgooglegroups.com] On Behalf Of Rebus
Sent: Friday, June 01, 2007 12:16 AM
To: Google Checkout Developers Forum - API Integration
Basics
Subject: [google-checkout-api-integration] Re: Message
serial numbers




On 30 อมส, 17:07, Ropu <rovagn...gmail.com> wrote:
> hi
>
> im pretty sure that the serial number should be
different. why? 
> because the idea of the serial number is NOT to
identify the data in 
> the message but the message uniquely. So if GC must
send one message 
> more than once, it will put different serial-numbers.
> Imagen that to the first message u respond with a 500
and the second 
> with a 200, both with the same data, how google will
differentiate 
> them if they have the same SN? they are different, both
the same data 
> but they dont have the same state.
>
> do u get my point?
>
> hope this helps
>
> ropu
>
> On 5/30/07, Rebus <avseia...gmail.com> wrote:
>

It's very good if it's working as you described. But I've
noticed, that sometimes Google sends exactly the same
message more than one time. I'm now filtering such a
"second copies", but not really sure - am I really
right doing this. 




--~--~---------~--~----~------------~-------~--~----~
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: Message serial numbers
user name
2007-06-01 12:46:59
Hi

now there is no need to send the ACK XML Message, just returning a HTTP 200 ok will be enough.
http://code.google.com/apis/checkout/developer/index.html#responding_to_notifications

so the notif will be resend if u respond with a 5xx or 4xx http status

btw new order notif are NOT resend, they are passed by email

If Google is unable to successfully send a new-order-notification to your API callback URL, Google will send you an email to notify you of the new order.

hope this helps

ropu

On 6/1/07, Tony Birnseth < tonyb1sit.com">tonyb1sit.com&gt; wrote:


>>; It's very good if it's working as you described. But I've noticed, that sometimes Google sends exactly the same message more than one time. I'm now filtering such a "second copies&quot;, but not really sure - am I really right doing this.

Then you must not be ACKing receipt of the notification.

Tony

http://www.ez-order-manager.com

-----Original Message-----
From: google-checkout-api-integrationgooglegroups.com"> google-checkout-api-integrationgooglegroups.com [mailto: google-checkout-api-integrationgooglegroups.com">google-checkout-api-integrationgooglegroups.com] On Behalf Of Rebus
Sent: Friday, June 01, 2007 12:16 AM
To: Google Checkout Developers Forum - API Integration Basics
Subject: [google-checkout-api-integration] Re: Message serial numbers




On 30 อมส, 17:07, Ropu < rovagn...gmail.com"> rovagn...gmail.com> wrote:
>; hi
>
&gt; im pretty sure that the serial number should be different. why?
> because the idea of the serial number is NOT to identify the data in
> the message but the message uniquely. So if GC must send one message
&gt; more than once, it will put different serial-numbers.
> Imagen that to the first message u respond with a 500 and the second
>; with a 200, both with the same data, how google will differentiate
> them if they have the same SN? they are different, both the same data
> but they dont have the same state.
>;
> do u get my point?
>;
> hope this helps
>
> ropu
>
> On 5/30/07, Rebus < avseia...gmail.com">avseia...gmail.com > wrote:
>;

It's very good if it's working as you described. But I've noticed, that sometimes Google sends exactly the same message more than one time. I'm now filtering such a "second copies&quot;, but not really sure - am I really right doing this.



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

[1-6]

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