List Info

Thread: Re: Receiving two "chargeable" state changes?




Re: Receiving two "chargeable" state changes?
user name
2008-02-23 20:36:18
Sat Feb 23 13:01:36 CST 2008:- <?xml
version="1.0" encoding="UTF-8"?>
<order-state-change-notification xmlns="http://checkout.google.co
m/
schema/2"
serial-number="248755049350195-00006-1">
 
<timestamp>2008-02-23T19:01:41.000Z</timestamp>
 
<google-order-number>248755049350195</google-order-
number>
 
<new-fulfillment-order-state>PROCESSING</new-fulfil
lment-order-
state>
 
<new-financial-order-state>CHARGEABLE</new-financia
l-order-
state>             <------ new order state
 
<previous-fulfillment-order-state>NEW</previous-ful
fillment-order-
state>
 
<previous-financial-order-state>CHARGEABLE</previou
s-financial-
order-          <------ previous order state (same)
state>
</order-state-change-notification>

Or maybe I'm just missing something?

On Feb 23, 8:08 pm, "joseph.feser"
<joseph.fe...gmail.com> wrote:
> I don't see the duplicates, it shows the change state.
>
> You need to look at all 4 values to see how it changes
states.
>
> Joe
>
> On Feb 23, 6:49 pm, c0mrade <jacksinglet...gmail.com> wrote:
>
> > Hi, I've finally managed to get google talking to
my handler, but now
> > it appears to be telling me that the order is
chargeable twice??
>
> > Is this normal?
>
> > Thanks for the help, below is the XML google is
sending me for a
> > complete transaction.
>
> > [code]
> > Sat Feb 23 13:00:19 CST 2008:- <?xml
version="1.0" encoding="UTF-8"?>
> > <new-order-notification xmlns="http://chec
kout.google.com/schema/2"
> >
serial-number="248755049350195-00001-7">
> >  
<timestamp>2008-02-23T19:00:24.000Z</timestamp>
> >   <shopping-cart>
> >     <items>
> >       <item>
> >         <item-name>Male</item-name>
> >         <item-description>Admission for one
male</item-description>
> >         <unit-price
currency="USD">20.0</unit-price>
> >         <quantity>1</quantity>
> >       </item>
> >     </items>
> >   </shopping-cart>
> >   <order-adjustment>
> >     <merchant-codes>
> >       <coupon-adjustment>
> >         <message>'abcd'
coupon</message>
> >         <code>abcd</code>
> >         <applied-amount
currency="USD">1.0</applied-amount>
> >         <calculated-amount
currency="USD">1.0</calculated-amount>
> >       </coupon-adjustment>
> >     </merchant-codes>
> >     <total-tax
currency="USD">0.0</total-tax>
> >     <adjustment-total
currency="USD">-1.0</adjustment-total>
> >   </order-adjustment>
> >  
<buyer-id>165945101245411</buyer-id>
> >  
<google-order-number>248755049350195</google-order-
number>
> >   <buyer-shipping-address>
> >     <contact-name>Jack
Smith</contact-name>
> >     <company-name></company-name>
> >     <email>singleton...gmail.com</email>
> >     <phone></phone>
> >     <fax></fax>
> >     <address1>915 Astreet</address1>
> >     <address2></address2>
> >     <city>Somewherenice</city>
> >     <country-code>US</country-code>
> >     <region>GA</region>
> >     <postal-code>30114</postal-code>
> >   </buyer-shipping-address>
> >   <buyer-billing-address>
> >     <contact-name>Jack
Smith</contact-name>
> >     <company-name></company-name>
> >     <email>singleton...gmail.com</email>
> >     <phone></phone>
> >     <fax></fax>
> >     <address1>915 Astreet</address1>
> >     <address2></address2>
> >     <city>Somewherenice</city>
> >     <country-code>US</country-code>
> >     <region>GA</region>
> >     <postal-code>30114</postal-code>
> >   </buyer-billing-address>
> >   <buyer-marketing-preferences>
> >    
<email-allowed>true</email-allowed>
> >   </buyer-marketing-preferences>
> >   <order-total
currency="USD">19.0</order-total>
> >  
<fulfillment-order-state>NEW</fulfillment-order-sta
te>
> >  
<financial-order-state>REVIEWING</financial-order-s
tate>
> > </new-order-notification>
>
> > Sat Feb 23 13:00:19 CST 2008:- <?xml
version="1.0"
encoding="UTF-8"?><notification-acknowledgme
nt xmlns="http://checkout.go
ogle.com/schema/
>
> > 2"/>
>
> > Sat Feb 23 13:01:34 CST 2008:- <?xml
version="1.0" encoding="UTF-8"?>
> > <order-state-change-notification xmlns="http://checkout.google.co
m/
> > schema/2"
serial-number="248755049350195-00005-1">
> >  
<timestamp>2008-02-23T19:01:41.000Z</timestamp>
> >  
<google-order-number>248755049350195</google-order-
number>
> >  
<new-fulfillment-order-state>NEW</new-fulfillment-o
rder-state>
> >  
<new-financial-order-state>CHARGEABLE</new-financia
l-order-state>
> >  
<previous-fulfillment-order-state>NEW</previous-ful
fillment-order-
> > state>
> >  
<previous-financial-order-state>REVIEWING</previous
-financial-order-
> > state>
> > </order-state-change-notification>
>
> > Sat Feb 23 13:01:34 CST 2008:- <?xml
version="1.0"
encoding="UTF-8"?><notification-acknowledgme
nt xmlns="http://checkout.go
ogle.com/schema/
>
> > 2"/>
>
> > Sat Feb 23 13:01:35 CST 2008:- <?xml
version="1.0" encoding="UTF-8"?>
> > <risk-information-notification xmlns="http://checkout.google.co
m/
> > schema/2"
serial-number="248755049350195-00005-5">
> >  
<timestamp>2008-02-23T19:01:41.000Z</timestamp>
> >  
<google-order-number>248755049350195</google-order-
number>
> >   <risk-information>
> >     <billing-address>
> >       <contact-name>Jack
Smith</contact-name>
> >       <company-name></company-name>
> >       <email>singleton...gmail.com</email>
> >       <phone></phone>
> >       <fax></fax>
> >       <address1>915
Astreet</address1>
> >       <address2></address2>
> >       <city>Somewherenice</city>
> >       <country-code>US</country-code>
> >       <region>GA</region>
> >      
<postal-code>30114</postal-code>
> >     </billing-address>
> >    
<ip-address>76.97.11.23</ip-address>
> >    
<eligible-for-protection>true</eligible-for-protect
ion>
> >     <avs-response>Y</avs-response>
> >     <cvn-response>M</cvn-response>
> >    
<partial-cc-number>4444</partial-cc-number>
> >    
<buyer-account-age>0</buyer-account-age>
> >   </risk-information>
> > </risk-information-notification>
>
> > Sat Feb 23 13:01:35 CST 2008:- <?xml
version="1.0"
encoding="UTF-8"?><notification-acknowledgme
nt xmlns="http://checkout.go
ogle.com/schema/
>
> > 2"/>
>
> > Sat Feb 23 13:01:36 CST 2008:- <?xml
version="1.0" encoding="UTF-8"?>
> > <order-state-change-notification xmlns="http://checkout.google.co
m/
> > schema/2"
serial-number="248755049350195-00006-1">
> >  
<timestamp>2008-02-23T19:01:41.000Z</timestamp>
> >  
<google-order-number>248755049350195</google-order-
number>
> >  
<new-fulfillment-order-state>PROCESSING</new-fulfil
lment-order-
> > state>
> >  
<new-financial-order-state>CHARGEABLE</new-financia
l-order-state>
> >  
<previous-fulfillment-order-state>NEW</previous-ful
fillment-order-
> > state>
> >  
<previous-financial-order-state>CHARGEABLE</previou
s-financial-order-
> > state>
> > </order-state-change-notification>
>
> > Sat Feb 23 13:01:36 CST 2008:- <?xml
version="1.0"
encoding="UTF-8"?><notification-acknowledgme
nt xmlns="http://checkout.go
ogle.com/schema/
>
> > 2"/>
>
> > Sat Feb 23 13:01:37 CST 2008:- <?xml
version="1.0" encoding="UTF-8"?>
> > <order-state-change-notification xmlns="http://checkout.google.co
m/
> > schema/2"
serial-number="248755049350195-00008-1">
> >  
<timestamp>2008-02-23T19:01:41.000Z</timestamp>
> >  
<google-order-number>248755049350195</google-order-
number>
> >  
<new-fulfillment-order-state>PROCESSING</new-fulfil
lment-order-
> > state>
> >  
<new-financial-order-state>CHARGING</new-financial-
order-state>
> >  
<previous-fulfillment-order-state>PROCESSING</previ
ous-fulfillment-
> > order-state>
> >  
<previous-financial-order-state>CHARGEABLE</previou
s-financial-order-
> > state>
> > </order-state-change-notification>
>
> > Sat Feb 23 13:01:37 CST 2008:- <?xml
version="1.0"
encoding="UTF-8"?><notification-acknowledgme
nt xmlns="http://checkout.go
ogle.com/schema/
>
> > 2"/>
>
> > Sat Feb 23 13:01:39 CST 2008:- <?xml
version="1.0" encoding="UTF-8"?>
> > <order-state-change-notification xmlns="http://checkout.google.co
m/
> > schema/2"
serial-number="248755049350195-00010-1">
> >  
<timestamp>2008-02-23T19:01:41.000Z</timestamp>
> >  
<google-order-number>248755049350195</google-order-
number>
> >  
<new-fulfillment-order-state>PROCESSING</new-fulfil
lment-order-
> > state>
> >  
<new-financial-order-state>CHARGED</new-financial-o
rder-state>
> >  
<previous-fulfillment-order-state>PROCESSING</previ
ous-fulfillment-
> > order-state>
> >  
<previous-financial-order-state>CHARGING</previous-
financial-order-
> > state>
> > </order-state-change-notification>
>
> > Sat Feb 23 13:01:39 CST 2008:- <?xml
version="1.0"
encoding="UTF-8"?><notification-acknowledgme
nt xmlns="http://checkout.go
ogle.com/schema/
>
> > 2"/>
>
> > Sat Feb 23 13:01:40 CST 2008:- <?xml
version="1.0" encoding="UTF-8"?>
> > <charge-amount-notification xmlns="http://checkout.go
ogle.com/schema/
> > 2"
serial-number="248755049350195-00010-2">
> >  
<timestamp>2008-02-23T19:01:41.000Z</timestamp>
> >  
<google-order-number>248755049350195</google-order-
number>
> >   <latest-charge-amount
currency="USD">19.0</latest-charge-amount>
;
> >   <total-charge-amount
currency="USD">19.0</total-charge-amount>

> > </charge-amount-notification>
>
> > Sat Feb 23 13:01:40 CST 2008:- <?xml
version="1.0"
encoding="UTF-8"?><notification-acknowledgme
nt xmlns="http://checkout.go
ogle.com/schema/
>
> > 2"/>
> > [/code]
--~--~---------~--~----~------------~-------~--~----~
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: Receiving two "chargeable" state changes?
user name
2008-02-23 21:21:56
Google really doesn't do code posts well...

here is (hopefully) a more readable version


===============================================

<order-state-change-notification xmlns="http://checkout.google.co
m/
schema/2"
serial-number="248755049350195-00005-1">
  ...
 
<new-financial-order-state>CHARGEABLE</new-financia
l-order-state>
  ...
</order-state-change-notification>

------------------------------------------------------------
---------------------

<risk-information-notification xmlns="http://checkout.google.co
m/
schema/2"
serial-number="248755049350195-00005-5">
  ...
</risk-information-notification>

------------------------------------------------------------
---------------------

<order-state-change-notification xmlns="http://checkout.google.co
m/
schema/2"
serial-number="248755049350195-00006-1">
  ...
 
<new-financial-order-state>CHARGEABLE</new-financia
l-order-state>
  ...
 
<previous-financial-order-state>CHARGEABLE</previou
s-financial-order-
state>
  ...
</order-state-change-notification>

===============================================
--~--~---------~--~----~------------~-------~--~----~
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-2]

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