List Info

Thread: How to use "merchant-private-item-data"?




How to use "merchant-private-item-data"?
country flaguser name
United States
2007-07-30 10:11:39
Hi, In new-order-notification.xml in the examle XML demos, I
saw this
snippet of code:

        <merchant-private-item-data>
          <my-data>
            <weight>1.5</weight>
            <color>white</color>
            <item-note>Popular item: Check inventory
and order more if
needed</item-note>
          </my-data>
        </merchant-private-item-data>

So it's possible for checkout to carry data sent in the
order process
and hand it back to the server. But how does one, with an
HTML form,
send this data in the first place?

Something along the lines of

<input type="hidden"
name="merchant-private-item-data"
value="test"/>

I would guess? Please advise, thanks.

Matt.


--~--~---------~--~----~------------~-------~--~----~
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: How to use "merchant-private-item-data"?
user name
2007-07-30 10:15:27
take a look in the 'Examples' here
http://checkout.google.com/sup
port/sell/bin/answer.py?answer=64729&topic=11964

On 7/30/07, bessey2gmail.com <bessey2gmail.com> wrote:
>
> Hi, In new-order-notification.xml in the examle XML
demos, I saw this
> snippet of code:
>
>         <merchant-private-item-data>
>           <my-data>
>             <weight>1.5</weight>
>             <color>white</color>
>             <item-note>Popular item: Check
inventory and order more if
> needed</item-note>
>           </my-data>
>         </merchant-private-item-data>
>
> So it's possible for checkout to carry data sent in the
order process
> and hand it back to the server. But how does one, with
an HTML form,
> send this data in the first place?
>
> Something along the lines of
>
> <input type="hidden"
name="merchant-private-item-data"
value="test"/>
>
> I would guess? Please advise, thanks.
>
> Matt.
>
>
> >
>


-- 
pablof

--~--~---------~--~----~------------~-------~--~----~
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: How to use "merchant-private-item-data"?
country flaguser name
United States
2007-07-30 10:20:45
Ah perfect thank you! 

On Jul 30, 4:15 pm, pablof <pab...gmail.com> wrote:
> take a look in the 'Examples' herehttp://checkout.google.com/support/s
ell/bin/answer.py?answer=64729&to...
>
> On 7/30/07, bess...gmail.com <bess...gmail.com> wrote:
>
>
>
>
>
> > Hi, In new-order-notification.xml in the examle
XML demos, I saw this
> > snippet of code:
>
> >         <merchant-private-item-data>
> >           <my-data>
> >             <weight>1.5</weight>
> >             <color>white</color>
> >             <item-note>Popular item: Check
inventory and order more if
> > needed</item-note>
> >           </my-data>
> >         </merchant-private-item-data>
>
> > So it's possible for checkout to carry data sent
in the order process
> > and hand it back to the server. But how does one,
with an HTML form,
> > send this data in the first place?
>
> > Something along the lines of
>
> > <input type="hidden"
name="merchant-private-item-data"
value="test"/>
>
> > I would guess? Please advise, thanks.
>
> > Matt.
>
> --
> pablof


--~--~---------~--~----~------------~-------~--~----~
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: How to use "merchant-private-item-data"?
country flaguser name
United States
2007-07-30 13:37:11
However this line of code still isn't working

<input type="hidden"
name="shopping-cart.items.item.merchant-private-
item-data.my-data.eventid" value="4" />

even though there is only one item and therefore i shouldn't
need to
specify an item number.

On Jul 30, 4:15 pm, pablof <pab...gmail.com> wrote:
> take a look in the 'Examples' herehttp://checkout.google.com/support/s
ell/bin/answer.py?answer=64729&to...
>
> On 7/30/07, bess...gmail.com <bess...gmail.com> wrote:
>
>
>
>
>
> > Hi, In new-order-notification.xml in the examle
XML demos, I saw this
> > snippet of code:
>
> >         <merchant-private-item-data>
> >           <my-data>
> >             <weight>1.5</weight>
> >             <color>white</color>
> >             <item-note>Popular item: Check
inventory and order more if
> > needed</item-note>
> >           </my-data>
> >         </merchant-private-item-data>
>
> > So it's possible for checkout to carry data sent
in the order process
> > and hand it back to the server. But how does one,
with an HTML form,
> > send this data in the first place?
>
> > Something along the lines of
>
> > <input type="hidden"
name="merchant-private-item-data"
value="test"/>
>
> > I would guess? Please advise, thanks.
>
> > Matt.
>
> --
> pablof


--~--~---------~--~----~------------~-------~--~----~
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: How to use "merchant-private-item-data"?
user name
2007-07-30 14:03:11
On 7/30/07, bessey2gmail.com <bessey2gmail.com> wrote:
>
> However this line of code still isn't working
>
> <input type="hidden"
name="shopping-cart.items.item.merchant-private-
> item-data.my-data.eventid" value="4"
/>

you have to specify the item number explicitly, even if
there's only one.
and you can't specify new "xml tags" with the
'dot' syntax of the html
api, you have to put your data directly in the 'value'
attribute.
try something like this:

<input type="hidden"
name="shopping-cart.items.item-1.merchant-private-item-
data"
value="eventid=4" />

perhaps embed xml or whatever:

value="<my-data><eventid>4</eventid>&
lt;/my-data"

> even though there is only one item and therefore i
shouldn't need to
> specify an item number.
>
> On Jul 30, 4:15 pm, pablof <pab...gmail.com> wrote:
> > take a look in the 'Examples' herehttp://checkout.google.com/support/s
ell/bin/answer.py?answer=64729&to...
> >
> > On 7/30/07, bess...gmail.com <bess...gmail.com> wrote:
> >
> >
> >
> >
> >
> > > Hi, In new-order-notification.xml in the
examle XML demos, I saw this
> > > snippet of code:
> >
> > >         <merchant-private-item-data>
> > >           <my-data>
> > >             <weight>1.5</weight>
> > >             <color>white</color>
> > >             <item-note>Popular item:
Check inventory and order more if
> > > needed</item-note>
> > >           </my-data>
> > >         </merchant-private-item-data>
> >
> > > So it's possible for checkout to carry data
sent in the order process
> > > and hand it back to the server. But how does
one, with an HTML form,
> > > send this data in the first place?
> >
> > > Something along the lines of
> >
> > > <input type="hidden"
name="merchant-private-item-data"
value="test"/>
> >
> > > I would guess? Please advise, thanks.
> >
> > > Matt.
> >
> > --
> > pablof
>
>
> >
>


-- 
pablof

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