|
List Info
Thread: HTML API Callback integration
|
|
| HTML API Callback integration |
  United States |
2007-09-11 11:13:14 |
Hi,
Just implementing google checkout (html API) into my
shopping cart,
and was wondering if anyone could let me know if it is
possible to
have google checkout send the user back to my callback page
(preferably with some pass or fail data).
I've seen the "API callback URL" field under
integration and am
guessing this just posts data to the specified field.
I would really prefer the users to be brought straight back
to my
site.
I'm hoping there is just a form field i can pass a callback
url in.
Thank you in advance.
Ben
--~--~---------~--~----~------------~-------~--~----~
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-integration googlegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: HTML API Callback integration |

|
2007-09-11 11:51:00 |
|
Hi,
I think you are a bit confused.
The API callback URL is only for level 2 integration and it is used by Checkout to send you (Merchant) notifications about orders, i.e.: new order notification, order state change, etc.
Then you are asking if the user can be taken to your site, this can be done but is not automatic, you will need to add to your shopping cart the continue-shopping-url tag (
http://code.google.com/apis/checkout/developer/index.html#tag_continue-shopping-url).
Finally you talk about the callback-url, this is a different, url this one is used when dealing with merchant calculations, which is a Google Checkout feature that enables you to calculate shipping costs, process coupons and gift certificates in real time using a synchronous call to your server.
Hope everything is clear now.
Regards,
Ignacio.
On 9/11/07, benalembick gmail.com">benalembick gmail.com <
benalembick gmail.com">benalembick gmail.com> wrote: Hi,
Just implementing google checkout (html API) into my shopping cart, and was wondering if anyone could let me know if it is possible to have google checkout send the user back to my callback page (preferably with some pass or fail data).
I've seen the "API callback URL" field under integration and am guessing this just posts data to the specified field.
I would really prefer the users to be brought straight back to my site.
I'm hoping there is just a form field i can pass a callback url in.
Thank you in advance.
Ben
If i have an apple and you have an apple and we switch then we both have an apple. But if i have an idea and you have an idea and we switch then we both have two ideas.
--~--~---------~--~----~------------~-------~--~----~
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-integration googlegroups.com To unsubscribe from this group, send email to google-checkout-api-integration-unsubscribe googlegroups.com For more options, visit this group at http://groups.google.com/group/google-checkout-api-integration?hl=en -~----------~----~----~----~------~----~------~--~---
|
| Re: HTML API Callback integration |
  United States |
2007-09-12 04:50:49 |
Hi,
Thank you for your help, the continue shopping tag is
exactly what i
want to be able to enable. I am however not using the xml
api i am
just passing my shopping cart details to the checkout using
form
variables. Is there a form variable equivilent to the
continue
shopping tag?
Im not sure what level 2 integration is but i do need google
checkout
to notify my system (which im guessing is what id use the
callback
for) after the customer has made a payment (ie I need the
shopping
cart ID passed back with a status of whether the transaction
has been
authorised, cancelled or denied.)
Thanks again for your help.
Ben
On Sep 11, 5:51 pm, "Ignacio Blanco"
<blanco... gmail.com> wrote:
> Hi,
>
> I think you are a bit confused.
>
> The API callback URL is only for level 2 integration
and it is used by
> Checkout to send you (Merchant) notifications about
orders, i.e.: new order
> notification, order state change, etc.
>
> Then you are asking if the user can be taken to your
site, this can be done
> but is not automatic, you will need to add to your
shopping cart the
> continue-shopping-url tag (http://code.google.com/apis/checkout/dev
eloper/index.html#tag_continu...
> ).
>
> Finally you talk about the callback-url, this is a
different, url this one
> is used when dealing with merchant calculations, which
is a Google Checkout
> feature that enables you to calculate shipping costs,
process coupons and
> gift certificates in real time using a synchronous call
to your server.
>
> Hope everything is clear now.
>
> Regards,
>
> Ignacio.
>
> On 9/11/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > Just implementing google checkout (html API) into
my shopping cart,
> > and was wondering if anyone could let me know if
it is possible to
> > have google checkout send the user back to my
callback page
> > (preferably with some pass or fail data).
>
> > I've seen the "API callback URL" field
under integration and am
> > guessing this just posts data to the specified
field.
>
> > I would really prefer the users to be brought
straight back to my
> > site.
>
> > I'm hoping there is just a form field i can pass a
callback url in.
>
> > Thank you in advance.
>
> > Ben
>
> --
> Code is like art but people loves painting something
and putting it into a
> museum or art gallery, what happen with code then?
-> LETS OPENSOURCE IT
> If i have an apple and you have an apple and we switch
then we both have an
> apple.
> But if i have an idea and you have an idea and we
switch then we both have
> two ideas.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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-integration googlegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: HTML API Callback integration |
  United States |
2007-09-14 04:32:48 |
Ahhh, yep thats cool, do you have any idea where i can get
details on
setting up the xml API to do this manual charging from my
system?
Thank you for your help.
Ben
On Sep 13, 5:51 pm, pablof <pab... gmail.com> wrote:
> > Is there any way of connecting my settle button to
the google checkout
> > charge button? My Bigger problem however is that i
would prefer to
> > send the request by html form as opposed to via
xml api.
>
> if i recall correctly this isn't possible, and even if
it was it would
> be seriously advised against since the html api is not
"secure" in
> the sense that anyone can post html requests against
your accounts,
> which isn't an issue normally since you are going to
review the orders
> manually anyway.
> the xml api doesn't suffer from this because you have
to create a
> signature for the request with your merchant key that
only you and
> Google can decipher, and prevents tampering and
requests made by
> someone that has no access to your key.
>
> cheers,
>
> On 9/13/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
>
>
>
>
>
> > Ok i Fixed my last problem and all is working
great. i do have a quick
> > query though.
>
> > My shopping cart systems back end currently works
in the following
> > way.
>
> > Customer orders product - pays for product -
receives email
> > confirmation.
>
> > My system (the payment gateway) is not set to
settle the order until
> > an administrator goes through the order and clicks
on settle. this is
> > when the money is taken from the users account.
(very much like i
> > guess how orders on google checkout by default
aren't 'charged')
>
> > Is there any way of connecting my settle button to
the google checkout
> > charge button? My Bigger problem however is that i
would prefer to
> > send the request by html form as opposed to via
xml api.
>
> > Please if you know if this is possible and how i
would be extremely
> > grateful
>
> > Cheers
>
> > Ben
>
> > On Sep 13, 1:05 pm, "benalemb... gmail.com" <benalemb... gmail.com>
> > wrote:
> > > that is
perfect, just what i was looking for. Ive hit another
> > > problem now mycallbackpage doesn't seem to be
being called. Ive got
> > > some test actions running at the moment which
i have tested with a
> > > test xml response, however when i process an
order and check to see if
> > > thecallbackpage has been actioned it never
does. Is there a setting
> > > somewhere that im missing? ive checked the
integration errors and
> > > nothing appears to be wrong just nothing
happens.
>
> > > Thanks
>
> > > Ben
>
> > > On Sep 12, 2:31 pm, pablof <pab... gmail.com> wrote:
>
> > > > > Is there a form variable equivilent
to the continue
> > > > > shopping tag?
>
> > > > there are several examples on using xml
tags in html
> > > > (continue-shopping included) here:
>
> > > >http://checkout.google.com/support/s
ell/bin/answer.py?answer=64729&to...
>
> > > > > Im not sure what level 2
integration is but i do need google checkout
> > > > > to notify my system (which im
guessing is what id use thecallback
> > > > > for) after the customer has made a
payment (ie I need the shopping
> > > > > cart ID passed back with a status
of whether the transaction has been
> > > > > authorised, cancelled or denied.)
>
> > > > you can read more about implementing the
notification api here:http://code.google.com/apis/checkout/dev
eloper/index.html#notificatio...
>
> > > > cheers,
>
> > > > On 9/12/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
>
> > > > > Hi,
>
> > > > > Thank you for your help, the
continue shopping tag is exactly what i
> > > > > want to be able to enable. I am
however not using the xml api i am
> > > > > just passing my shopping cart
details to the checkout using form
> > > > > variables. Is there a form variable
equivilent to the continue
> > > > > shopping tag?
>
> > > > > Im not sure what level 2
integration is but i do need google checkout
> > > > > to notify my system (which im
guessing is what id use thecallback
> > > > > for) after the customer has made a
payment (ie I need the shopping
> > > > > cart ID passed back with a status
of whether the transaction has been
> > > > > authorised, cancelled or denied.)
>
> > > > > Thanks again for your help.
>
> > > > > Ben
>
> > > > > On Sep 11, 5:51 pm, "Ignacio
Blanco" <blanco... gmail.com> wrote:
> > > > > > Hi,
>
> > > > > > I think you are a bit
confused.
>
> > > > > > The APIcallbackURL is only for
level 2 integration and it is used by
> > > > > > Checkout to send you
(Merchant) notifications about orders, i.e.: new order
> > > > > > notification, order state
change, etc.
>
> > > > > > Then you are asking if the
user can be taken to your site, this can be done
> > > > > > but is not automatic, you will
need to add to your shopping cart the
> > > > > > continue-shopping-url tag (http://code.google.com/apis/checkout/dev
eloper/index.html#tag_continu...
> > > > > > ).
>
> > > > > > Finally you talk about
thecallback-url, this is a different, url this one
> > > > > > is used when dealing with
merchant calculations, which is a Google Checkout
> > > > > > feature that enables you to
calculate shipping costs, process coupons and
> > > > > > gift certificates in real time
using a synchronous call to your server.
>
> > > > > > Hope everything is clear now.
>
> > > > > > Regards,
>
> > > > > > Ignacio.
>
> > > > > > On 9/11/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
>
> > > > > > > Hi,
>
> > > > > > > Just implementing google
checkout (html API) into my shopping cart,
> > > > > > > and was wondering if
anyone could let me know if it is possible to
> > > > > > > have google checkout send
the user back to mycallbackpage
> > > > > > > (preferably with some
pass or fail data).
>
> > > > > > > I've seen the
"APIcallbackURL" field under integration and am
> > > > > > > guessing this just posts
data to the specified field.
>
> > > > > > > I would really prefer the
users to be brought straight back to my
> > > > > > > site.
>
> > > > > > > I'm hoping there is just
a form field i can pass acallbackurl in.
>
> > > > > > > Thank you in advance.
>
> > > > > > > Ben
>
> > > > > > --
> > > > > > Code is like art but people
loves painting something and putting it into a
> > > > > > museum or art gallery, what
happen with code then? -> LETS OPENSOURCE IT
> > > > > > If i have an apple and you
have an apple and we switch then we both have an
> > > > > > apple.
> > > > > > But if i have an idea and you
have an idea and we switch then we both have
> > > > > > two ideas.- Hide quoted text
-
>
> > > > > > - Show quoted text -
>
> > > > --
> > > > 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-integration googlegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: HTML API Callback integration |
  United States |
2007-09-24 10:40:29 |
Thank
you for the links, much appreciated. I have managed to
implement my system to send the cancel order xml to
https://sandbox.google.com/chec
kout/api/checkout/v2/request/Merchant/XXX/diagnose
(xml sent below).
<cancel-order xmlns="http://chec
kout.google.com/schema/2" google-order-
number="XXX">
<reason>Buyer cancelled the order.</reason>
<comment>Buyer ordered another item.</comment>
</cancel-order>
And i am receiving the following xml response, which appears
to be all
good
<?xml version="1.0"
encoding="UTF-8"?>
<diagnosis xmlns="http://chec
kout.google.com/schema/2" serial-
number="XXX">
<input-xml>
<cancel-order google-order-number="XXX">
<comment>Buyer ordered another
item.</comment>
<reason>Buyer cancelled the order.</reason>
</cancel-order>
</input-xml>
</diagnosis>
However the order is not being cancelled in my sandbox
account. Any
idea what im doing wrong, i have just noticed that the URL
that im
using to submit the request to is .../diagnose could this be
my
problem? if so what is the correct URL to use.
Thanks again for you ongoing support, it is much
appreciated.
Regards
Ben
On Sep 14, 1:36 pm, pablof <pab... gmail.com> wrote:
> there's sample code for a variety of languages here:
http://code.google.com/apis/checkout/samplecode.html
>
> and the developer guide:http://code.google.com/apis/checkout/developer/index.ht
ml
>
> any questions or problems we're here to try and help
>
> cheers,
>
> On 9/14/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
>
>
>
>
>
> > Ahhh, yep thats cool, do you have any idea where i
can get details on
> > setting up the xml API to do this manual charging
from my system?
>
> > Thank you for your help.
>
> > Ben
>
> > On Sep 13, 5:51 pm, pablof <pab... gmail.com> wrote:
> > > > Is there any way of connecting my settle
button to the google checkout
> > > > charge button? My Bigger problem however
is that i would prefer to
> > > > send the request by html form as opposed
to via xml api.
>
> > > if i recall correctly this isn't possible,
and even if it was it would
> > > be seriously advised against since the html
api is not "secure" in
> > > the sense that anyone can post html requests
against your accounts,
> > > which isn't an issue normally since you are
going to review the orders
> > > manually anyway.
> > > the xml api doesn't suffer from this because
you have to create a
> > > signature for the request with your merchant
key that only you and
> > > Google can decipher, and prevents tampering
and requests made by
> > > someone that has no access to your key.
>
> > > cheers,
>
> > > On 9/13/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
>
> > > > Ok i Fixed my last problem and all is
working great. i do have a quick
> > > > query though.
>
> > > > My shopping cart systems back end
currently works in the following
> > > > way.
>
> > > > Customer orders product - pays for
product - receives email
> > > > confirmation.
>
> > > > My system (the payment gateway) is not
set to settle the order until
> > > > an administrator goes through the order
and clicks on settle. this is
> > > > when the money is taken from the users
account. (very much like i
> > > > guess how orders on google checkout by
default aren't 'charged')
>
> > > > Is there any way of connecting my settle
button to the google checkout
> > > > charge button? My Bigger problem however
is that i would prefer to
> > > > send the request by html form as opposed
to via xml api.
>
> > > > Please if you know if this is possible
and how i would be extremely
> > > > grateful
>
> > > > Cheers
>
> > > > Ben
>
> > > > On Sep 13, 1:05 pm,
"benalemb... gmail.com" <benalemb... gmail.com>
> > > > wrote:
> > > > > that is
perfect, just what i was looking for. Ive hit another
> > > > > problem now mycallbackpage doesn't
seem to be being called. Ive got
> > > > > some test actions running at the
moment which i have tested with a
> > > > > test xml response, however when i
process an order and check to see if
> > > > > thecallbackpage has been actioned
it never does. Is there a setting
> > > > > somewhere that im missing? ive
checked the integration errors and
> > > > > nothing appears to be wrong just
nothing happens.
>
> > > > > Thanks
>
> > > > > Ben
>
> > > > > On Sep 12, 2:31 pm, pablof
<pab... gmail.com> wrote:
>
> > > > > > > Is there a form variable
equivilent to the continue
> > > > > > > shopping tag?
>
> > > > > > there are several examples on
using xml tags in html
> > > > > > (continue-shopping included)
here:
>
> > > > > >http://checkout.google.com/support/s
ell/bin/answer.py?answer=64729&to...
>
> > > > > > > Im not sure what level 2
integration is but i do need google checkout
> > > > > > > to notify my system
(which im guessing is what id use thecallback
> > > > > > > for) after the customer
has made a payment (ie I need the shopping
> > > > > > > cart ID passed back with
a status of whether the transaction has been
> > > > > > > authorised, cancelled or
denied.)
>
> > > > > > you can read more about
implementing the notification api here:http://code.google.com/apis/checkout/dev
eloper/index.html#notificatio...
>
> > > > > > cheers,
>
> > > > > > On 9/12/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
>
> > > > > > > Hi,
>
> > > > > > > Thank you for your help,
the continue shopping tag is exactly what i
> > > > > > > want to be able to
enable. I am however not using the xml api i am
> > > > > > > just passing my shopping
cart details to the checkout using form
> > > > > > > variables. Is there a
form variable equivilent to the continue
> > > > > > > shopping tag?
>
> > > > > > > Im not sure what level 2
integration is but i do need google checkout
> > > > > > > to notify my system
(which im guessing is what id use thecallback
> > > > > > > for) after the customer
has made a payment (ie I need the shopping
> > > > > > > cart ID passed back with
a status of whether the transaction has been
> > > > > > > authorised, cancelled or
denied.)
>
> > > > > > > Thanks again for your
help.
>
> > > > > > > Ben
>
> > > > > > > On Sep 11, 5:51 pm,
"Ignacio Blanco" <blanco... gmail.com> wrote:
> > > > > > > > Hi,
>
> > > > > > > > I think you are a
bit confused.
>
> > > > > > > > The APIcallbackURL
is only for level 2 integration and it is used by
> > > > > > > > Checkout to send you
(Merchant) notifications about orders, i.e.: new order
> > > > > > > > notification, order
state change, etc.
>
> > > > > > > > Then you are asking
if the user can be taken to your site, this can be done
> > > > > > > > but is not
automatic, you will need to add to your shopping cart the
> > > > > > > >
continue-shopping-url tag (http://code.google.com/apis/checkout/dev
eloper/index.html#tag_continu...
> > > > > > > > ).
>
> > > > > > > > Finally you talk
about thecallback-url, this is a different, url this one
> > > > > > > > is used when dealing
with merchant calculations, which is a Google Checkout
> > > > > > > > feature that enables
you to calculate shipping costs, process coupons and
> > > > > > > > gift certificates in
real time using a synchronous call to your server.
>
> > > > > > > > Hope everything is
clear now.
>
> > > > > > > > Regards,
>
> > > > > > > > Ignacio.
>
> > > > > > > > On 9/11/07,
benalemb... gmail.com <benalemb... gmail.com> wrote:
>
> > > > > > > > > Hi,
>
> > > > > > > > > Just
implementing google checkout (html API) into my shopping
cart,
> > > > > > > > > and was
wondering if anyone could let me know if it is possible to
> > > > > > > > > have google
checkout send the user back to mycallbackpage
> > > > > > > > > (preferably
with some pass or fail data).
>
> > > > > > > > > I've seen the
"APIcallbackURL" field under integration and am
> > > > > > > > > guessing this
just posts data to the specified field.
>
> > > > > > > > > I would really
prefer the users to be brought straight back to my
> > > > > > > > > site.
>
> > > > > > > > > I'm hoping
there is just a form field i can pass acallbackurl in.
>
> > > > > > > > > Thank you in
advance.
>
> > > > > > > > > Ben
>
> > > > > > > > --
> > > > > > > > Code is like art but
people loves painting something and putting it into a
> > > > > > > > museum or art
gallery, what happen with code then? -> LETS OPENSOURCE
IT
> > > > > > > > If i have an apple
and you have an apple and we switch then we both have an
> > > > > > > > apple.
> > > > > > > > But if i have an
idea and you have an idea and we switch then we both have
> > > > > > > > two ideas.- Hide
quoted text -
>
> > > > > > > > - Show quoted text
-
>
> > > > > > --
> > > > > > pablof
>
> > > --
> > > 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-integration googlegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: HTML API Callback integration |
  United States |
2007-09-24 11:10:33 |
Ok Apologies, i kinda answered my own question in my last
post, i took
off the diagnose part of the URL and things are kinda
working now.
I recieved an error telling me that the order has to be
refunded
before it can be cancelled, so ive implemented my refund
section and
used the diagnose url to test the xml. However when i try
and run the
code without diagnose i get the follwowing error:
<?xml version="1.0"
encoding="UTF-8"?>
<error xmlns="http://chec
kout.google.com/schema/2" serial-
number="XXX">
<error-message>Internal error in
server</error-message>
</error>
Any ideas? the xml i send is:
<?xml version="1.0"
encoding="UTF-8"?>
<refund-order xmlns="http://chec
kout.google.com/schema/2" google-order-
number="XXX">
<amount currency="USD">1.00</amount>
<comment>My Notes</comment>
<reason>My Reason</reason>
</refund-order>
Thanks again
Ben
On Sep 24, 4:40 pm, "benalemb... gmail.com"
<benalemb... gmail.com>
wrote:
>
Thank you for the links, much appreciated. I have managed
to
> implement my system to send the cancel order xml tohttps://sandbox.google.com/checkout/api/
checkout/v2/request/Merchant/...
> (xml sent below).
>
> <cancel-order xmlns="http://chec
kout.google.com/schema/2" google-order-
> number="XXX">
> <reason>Buyer cancelled the
order.</reason>
> <comment>Buyer ordered another
item.</comment>
> </cancel-order>
>
> And i am receiving the following xml response, which
appears to be all
> good
>
> <?xml version="1.0"
encoding="UTF-8"?>
> <diagnosis xmlns="http://chec
kout.google.com/schema/2" serial-
> number="XXX">
> <input-xml>
> <cancel-order
google-order-number="XXX">
> <comment>Buyer ordered
another item.</comment>
> <reason>Buyer cancelled
the order.</reason>
> </cancel-order>
> </input-xml>
> </diagnosis>
>
> However the order is not being cancelled in my sandbox
account. Any
> idea what im doing wrong, i have just noticed that the
URL that im
> using to submit the request to is .../diagnose could
this be my
> problem? if so what is the correct URL to use.
>
> Thanks again for you ongoing support, it is much
appreciated.
>
> Regards
>
> Ben
>
> On Sep 14, 1:36 pm, pablof <pab... gmail.com> wrote:
>
> > there's sample code for a variety of languages
here:
http://code.google.com/apis/checkout/samplecode.html
>
> > and the developer guide:http://code.google.com/apis/checkout/developer/index.ht
ml
>
> > any questions or problems we're here to try and
help
>
> > cheers,
>
> > On 9/14/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
>
> > > Ahhh, yep thats cool, do you have any idea
where i can get details on
> > > setting up the xml API to do this manual
charging from my system?
>
> > > Thank you for your help.
>
> > > Ben
>
> > > On Sep 13, 5:51 pm, pablof <pab... gmail.com> wrote:
> > > > > Is there any way of connecting my
settle button to the google checkout
> > > > > charge button? My Bigger problem
however is that i would prefer to
> > > > > send the request by html form as
opposed to via xml api.
>
> > > > if i recall correctly this isn't
possible, and even if it was it would
> > > > be seriously advised against since the
html api is not "secure" in
> > > > the sense that anyone can post html
requests against your accounts,
> > > > which isn't an issue normally since you
are going to review the orders
> > > > manually anyway.
> > > > the xml api doesn't suffer from this
because you have to create a
> > > > signature for the request with your
merchant key that only you and
> > > > Google can decipher, and prevents
tampering and requests made by
> > > > someone that has no access to your key.
>
> > > > cheers,
>
> > > > On 9/13/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
>
> > > > > Ok i Fixed my last problem and all
is working great. i do have a quick
> > > > > query though.
>
> > > > > My shopping cart systems back end
currently works in the following
> > > > > way.
>
> > > > > Customer orders product - pays for
product - receives email
> > > > > confirmation.
>
> > > > > My system (the payment gateway) is
not set to settle the order until
> > > > > an administrator goes through the
order and clicks on settle. this is
> > > > > when the money is taken from the
users account. (very much like i
> > > > > guess how orders on google checkout
by default aren't 'charged')
>
> > > > > Is there any way of connecting my
settle button to the google checkout
> > > > > charge button? My Bigger problem
however is that i would prefer to
> > > > > send the request by html form as
opposed to via xml api.
>
> > > > > Please if you know if this is
possible and how i would be extremely
> > > > > grateful
>
> > > > > Cheers
>
> > > > > Ben
>
> > > > > On Sep 13, 1:05 pm,
"benalemb... gmail.com" <benalemb... gmail.com>
> > > > > wrote:
> > > > > > that is
perfect, just what i was looking for. Ive hit another
> > > > > > problem now mycallbackpage
doesn't seem to be being called. Ive got
> > > > > > some test actions running at
the moment which i have tested with a
> > > > > > test xml response, however
when i process an order and check to see if
> > > > > > thecallbackpage has been
actioned it never does. Is there a setting
> > > > > > somewhere that im missing? ive
checked the integration errors and
> > > > > > nothing appears to be wrong
just nothing happens.
>
> > > > > > Thanks
>
> > > > > > Ben
>
> > > > > > On Sep 12, 2:31 pm, pablof
<pab... gmail.com> wrote:
>
> > > > > > > > Is there a form
variable equivilent to the continue
> > > > > > > > shopping tag?
>
> > > > > > > there are several
examples on using xml tags in html
> > > > > > > (continue-shopping
included) here:
>
> > > > > > >http://checkout.google.com/support/s
ell/bin/answer.py?answer=64729&to...
>
> > > > > > > > Im not sure what
level 2 integration is but i do need google checkout
> > > > > > > > to notify my system
(which im guessing is what id use thecallback
> > > > > > > > for) after the
customer has made a payment (ie I need the shopping
> > > > > > > > cart ID passed back
with a status of whether the transaction has been
> > > > > > > > authorised,
cancelled or denied.)
>
> > > > > > > you can read more about
implementing the notification api here:http://code.google.com/apis/checkout/dev
eloper/index.html#notificatio...
>
> > > > > > > cheers,
>
> > > > > > > On 9/12/07,
benalemb... gmail.com <benalemb... gmail.com> wrote:
>
> > > > > > > > Hi,
>
> > > > > > > > Thank you for your
help, the continue shopping tag is exactly what i
> > > > > > > > want to be able to
enable. I am however not using the xml api i am
> > > > > > > > just passing my
shopping cart details to the checkout using form
> > > > > > > > variables. Is there
a form variable equivilent to the continue
> > > > > > > > shopping tag?
>
> > > > > > > > Im not sure what
level 2 integration is but i do need google checkout
> > > > > > > > to notify my system
(which im guessing is what id use thecallback
> > > > > > > > for) after the
customer has made a payment (ie I need the shopping
> > > > > > > > cart ID passed back
with a status of whether the transaction has been
> > > > > > > > authorised,
cancelled or denied.)
>
> > > > > > > > Thanks again for
your help.
>
> > > > > > > > Ben
>
> > > > > > > > On Sep 11, 5:51 pm,
"Ignacio Blanco" <blanco... gmail.com> wrote:
> > > > > > > > > Hi,
>
> > > > > > > > > I think you are
a bit confused.
>
> > > > > > > > > The
APIcallbackURL is only for level 2 integration and it is
used by
> > > > > > > > > Checkout to
send you (Merchant) notifications about orders, i.e.: new
order
> > > > > > > > > notification,
order state change, etc.
>
> > > > > > > > > Then you are
asking if the user can be taken to your site, this can be
done
> > > > > > > > > but is not
automatic, you will need to add to your shopping cart the
> > > > > > > > >
continue-shopping-url tag (http://code.google.com/apis/checkout/dev
eloper/index.html#tag_continu...
> > > > > > > > > ).
>
> > > > > > > > > Finally you
talk about thecallback-url, this is a different, url this
one
> > > > > > > > > is used when
dealing with merchant calculations, which is a Google
Checkout
> > > > > > > > > feature that
enables you to calculate shipping costs, process coupons
and
> > > > > > > > > gift
certificates in real time using a synchronous call to your
server.
>
> > > > > > > > > Hope everything
is clear now.
>
> > > > > > > > > Regards,
>
> > > > > > > > > Ignacio.
>
> > > > > > > > > On 9/11/07,
benalemb... gmail.com <benalemb... gmail.com> wrote:
>
> > > > > > > > > > Hi,
>
> > > > > > > > > > Just
implementing google checkout (html API) into my shopping
cart,
> > > > > > > > > > and was
wondering if anyone could let me know if it is possible to
> > > > > > > > > > have
google checkout send the user back to mycallbackpage
> > > > > > > > > >
(preferably with some pass or fail data).
>
> > > > > > > > > > I've seen
the "APIcallbackURL" field under integration and
am
> > > > > > > > > > guessing
this just posts data to the specified field.
>
> > > > > > > > > > I would
really prefer the users to be brought straight back to my
> > > > > > > > > > site.
>
> > > > > > > > > > I'm hoping
there is just a form field i can pass acallbackurl in.
>
> > > > > > > > > > Thank you
in advance.
>
> > > > > > > > > > Ben
>
> > > > > > > > > --
> > > > > > > > > Code is like
art but people loves painting something and putting it into
a
> > > > > > > > > museum or art
gallery, what happen with code then? -> LETS OPENSOURCE
IT
> > > > > > > > > If i have an
apple and you have an apple and we switch then we both have
an
> > > > > > > > > apple.
> > > > > > > > > But if i have
an idea and you have an idea and we switch then we both
have
> > > > > > > > > two ideas.-
Hide quoted text -
>
> > > > > > > > > - Show quoted
text -
>
> > > > > > > --
> > > > > > > pablof
>
> > > > --
> > > > 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-integration googlegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: HTML API Callback integration |
  United States |
2007-09-24 11:13:31 |
OMG apologies, I just tried changing my currency to GBP
which is what
all my orders are being processed in and its just worked
fine.
Im really sorry for being a pain, Iwill say though that i
only spotted
it because i copied and pasted my xml stuff into the
previous post, so
in theory you guys have still helped me
Thanks, and sorry, no doubt ill have another problem shortly
cheers
Ben
On Sep 24, 4:40 pm, "benalemb... gmail.com"
<benalemb... gmail.com>
wrote:
>
Thank you for the links, much appreciated. I have managed
to
> implement my system to send the cancel order xml tohttps://sandbox.google.com/checkout/api/
checkout/v2/request/Merchant/...
> (xml sent below).
>
> <cancel-order xmlns="http://chec
kout.google.com/schema/2" google-order-
> number="XXX">
> <reason>Buyer cancelled the
order.</reason>
> <comment>Buyer ordered another
item.</comment>
> </cancel-order>
>
> And i am receiving the following xml response, which
appears to be all
> good
>
> <?xml version="1.0"
encoding="UTF-8"?>
> <diagnosis xmlns="http://chec
kout.google.com/schema/2" serial-
> number="XXX">
> <input-xml>
> <cancel-order
google-order-number="XXX">
> <comment>Buyer ordered
another item.</comment>
> <reason>Buyer cancelled
the order.</reason>
> </cancel-order>
> </input-xml>
> </diagnosis>
>
> However the order is not being cancelled in my sandbox
account. Any
> idea what im doing wrong, i have just noticed that the
URL that im
> using to submit the request to is .../diagnose could
this be my
> problem? if so what is the correct URL to use.
>
> Thanks again for you ongoing support, it is much
appreciated.
>
> Regards
>
> Ben
>
> On Sep 14, 1:36 pm, pablof <pab... gmail.com> wrote:
>
> > there's sample code for a variety of languages
here:
http://code.google.com/apis/checkout/samplecode.html
>
> > and the developer guide:http://code.google.com/apis/checkout/developer/index.ht
ml
>
> > any questions or problems we're here to try and
help
>
> > cheers,
>
> > On 9/14/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
>
> > > Ahhh, yep thats cool, do you have any idea
where i can get details on
> > > setting up the xml API to do this manual
charging from my system?
>
> > > Thank you for your help.
>
> > > Ben
>
> > > On Sep 13, 5:51 pm, pablof <pab... gmail.com> wrote:
> > > > > Is there any way of connecting my
settle button to the google checkout
> > > > > charge button? My Bigger problem
however is that i would prefer to
> > > > > send the request by html form as
opposed to via xml api.
>
> > > > if i recall correctly this isn't
possible, and even if it was it would
> > > > be seriously advised against since the
html api is not "secure" in
> > > > the sense that anyone can post html
requests against your accounts,
> > > > which isn't an issue normally since you
are going to review the orders
> > > > manually anyway.
> > > > the xml api doesn't suffer from this
because you have to create a
> > > > signature for the request with your
merchant key that only you and
> > > > Google can decipher, and prevents
tampering and requests made by
> > > > someone that has no access to your key.
>
> > > > cheers,
>
> > > > On 9/13/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
>
> > > > > Ok i Fixed my last problem and all
is working great. i do have a quick
> > > > > query though.
>
> > > > > My shopping cart systems back end
currently works in the following
> > > > > way.
>
> > > > > Customer orders product - pays for
product - receives email
> > > > > confirmation.
>
> > > > > My system (the payment gateway) is
not set to settle the order until
> > > > > an administrator goes through the
order and clicks on settle. this is
> > > > > when the money is taken from the
users account. (very much like i
> > > > > guess how orders on google checkout
by default aren't 'charged')
>
> > > > > Is there any way of connecting my
settle button to the google checkout
> > > > > charge button? My Bigger problem
however is that i would prefer to
> > > > > send the request by html form as
opposed to via xml api.
>
> > > > > Please if you know if this is
possible and how i would be extremely
> > > > > grateful
>
> > > > > Cheers
>
> > > > > Ben
>
> > > > > On Sep 13, 1:05 pm,
"benalemb... gmail.com" <benalemb... gmail.com>
> > > > > wrote:
> > > > > > that is
perfect, just what i was looking for. Ive hit another
> > > > > > problem now mycallbackpage
doesn't seem to be being called. Ive got
> > > > > > some test actions running at
the moment which i have tested with a
> > > > > > test xml response, however
when i process an order and check to see if
> > > > > > thecallbackpage has been
actioned it never does. Is there a setting
> > > > > > somewhere that im missing? ive
checked the integration errors and
> > > > > > nothing appears to be wrong
just nothing happens.
>
> > > > > > Thanks
>
> > > > > > Ben
>
> > > > > > On Sep 12, 2:31 pm, pablof
<pab... gmail.com> wrote:
>
> > > > > > > > Is there a form
variable equivilent to the continue
> > > > > > > > shopping tag?
>
> > > > > > > there are several
examples on using xml tags in html
> > > > > > > (continue-shopping
included) here:
>
> > > > > > >http://checkout.google.com/support/s
ell/bin/answer.py?answer=64729&to...
>
> > > > > > > > Im not sure what
level 2 integration is but i do need google checkout
> > > > > > > > to notify my system
(which im guessing is what id use thecallback
> > > > > > > > for) after the
customer has made a payment (ie I need the shopping
> > > > > > > > cart ID passed back
with a status of whether the transaction has been
> > > > > > > > authorised,
cancelled or denied.)
>
> > > > > > > you can read more about
implementing the notification api here:http://code.google.com/apis/checkout/dev
eloper/index.html#notificatio...
>
> > > > > > > cheers,
>
> > > > > > > On 9/12/07,
benalemb... gmail.com <benalemb... gmail.com> wrote:
>
> > > > > > > > Hi,
>
> > > > > > > > Thank you for your
help, the continue shopping tag is exactly what i
> > > > > > > > want to be able to
enable. I am however not using the xml api i am
> > > > > > > > just passing my
shopping cart details to the checkout using form
> > > > > > > > variables. Is there
a form variable equivilent to the continue
> > > > > > > > shopping tag?
>
> > > > > > > > Im not sure what
level 2 integration is but i do need google checkout
> > > > > > > > to notify my system
(which im guessing is what id use thecallback
> > > > > > > > for) after the
customer has made a payment (ie I need the shopping
> > > > > > > > cart ID passed back
with a status of whether the transaction has been
> > > > > > > > authorised,
cancelled or denied.)
>
> > > > > > > > Thanks again for
your help.
>
> > > > > > > > Ben
>
> > > > > > > > On Sep 11, 5:51 pm,
"Ignacio Blanco" <blanco... gmail.com> wrote:
> > > > > > > > > Hi,
>
> > > > > > > > > I think you are
a bit confused.
>
> > > > > > > > > The
APIcallbackURL is only for level 2 integration and it is
used by
> > > > > > > > > Checkout to
send you (Merchant) notifications about orders, i.e.: new
order
> > > > > > > > > notification,
order state change, etc.
>
> > > > > > > > > Then you are
asking if the user can be taken to your site, this can be
done
> > > > > > > > > but is not
automatic, you will need to add to your shopping cart the
> > > > > > > > >
continue-shopping-url tag (http://code.google.com/apis/checkout/dev
eloper/index.html#tag_continu...
> > > > > > > > > ).
>
> > > > > > > > > Finally you
talk about thecallback-url, this is a different, url this
one
> > > > > > > > > is used when
dealing with merchant calculations, which is a Google
Checkout
> > > > > > > > > feature that
enables you to calculate shipping costs, process coupons
and
> > > > > > > > > gift
certificates in real time using a synchronous call to your
server.
>
> > > > > > > > > Hope everything
is clear now.
>
> > > > > > > > > Regards,
>
> > > > > > > > > Ignacio.
>
> > > > > > > > > On 9/11/07,
benalemb... gmail.com <benalemb... gmail.com> wrote:
>
> > > > > > > > > > Hi,
>
> > > > > > > > > > Just
implementing google checkout (html API) into my shopping
cart,
> > > > > > > > > > and was
wondering if anyone could let me know if it is possible to
> > > > > > > > > > have
google checkout send the user back to mycallbackpage
> > > > > > > > > >
(preferably with some pass or fail data).
>
> > > > > > > > > > I've seen
the "APIcallbackURL" field under integration and
am
> > > > > > > > > > guessing
this just posts data to the specified field.
>
> > > > > > > > > > I would
really prefer the users to be brought straight back to my
> > > > > > > > > > site.
>
> > > > > > > > > > I'm hoping
there is just a form field i can pass acallbackurl in.
>
> > > > > > > > > > Thank you
in advance.
>
> > > > > > > > > > Ben
>
> > > > > > > > > --
> > > > > > > > > Code is like
art but people loves painting something and putting it into
a
> > > > > > > > > museum or art
gallery, what happen with code then? -> LETS OPENSOURCE
IT
> > > > > > > > > If i have an
apple and you have an apple and we switch then we both have
an
> > > > > > > > > apple.
> > > > > > > > > But if i have
an idea and you have an idea and we switch then we both
have
> > > > > > > > > two ideas.-
Hide quoted text -
>
> > > > > > > > > - Show quoted
text -
>
> > > > > > > --
> > > > > > > pablof
>
> > > > --
> > > > 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-integration googlegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: HTML API Callback integration |
  United States |
2007-09-25 03:51:39 |
Ok Guys / Gals,
Gotta a quicky. To cancel an order i have to make sure that
my order
is fully refunded first so i run my refund code before the
cancel
stuff, however is there a way i can request the total value
of the
order so i know how much to refund to set the order to 000.
or is
there a way to set the refund to all instead of a certain
amount??
(that would be better).
Cheers
Ben
On Sep 24, 5:13 pm, "benalemb... gmail.com"
<benalemb... gmail.com>
wrote:
> OMG apologies, I just tried changing my currency to GBP
which is what
> all my orders are being processed in and its just
worked fine.
>
> Im really sorry for being a pain, Iwill say though that
i only spotted
> it because i copied and pasted my xml stuff into the
previous post, so
> in theory you guys have still helped me
>
> Thanks, and sorry, no doubt ill have another problem
shortly
>
> cheers
>
> Ben
>
> On Sep 24, 4:40 pm, "benalemb... gmail.com" <benalemb... gmail.com>
> wrote:
>
> > Thank you
for the links, much appreciated. I have managed to
> > implement my system to send the cancel order xml
tohttps://sandbox.google.com/checkout/api/
checkout/v2/request/Merchant/...
> > (xml sent below).
>
> > <cancel-order xmlns="http://chec
kout.google.com/schema/2" google-order-
> > number="XXX">
> > <reason>Buyer cancelled the
order.</reason>
> > <comment>Buyer ordered another
item.</comment>
> > </cancel-order>
>
> > And i am receiving the following xml response,
which appears to be all
> > good
>
> > <?xml version="1.0"
encoding="UTF-8"?>
> > <diagnosis xmlns="http://chec
kout.google.com/schema/2" serial-
> > number="XXX">
> > <input-xml>
> > <cancel-order
google-order-number="XXX">
> > <comment>Buyer
ordered another item.</comment>
> > <reason>Buyer
cancelled the order.</reason>
> > </cancel-order>
> > </input-xml>
> > </diagnosis>
>
> > However the order is not being cancelled in my
sandbox account. Any
> > idea what im doing wrong, i have just noticed that
the URL that im
> > using to submit the request to is .../diagnose
could this be my
> > problem? if so what is the correct URL to use.
>
> > Thanks again for you ongoing support, it is much
appreciated.
>
> > Regards
>
> > Ben
>
> > On Sep 14, 1:36 pm, pablof <pab... gmail.com> wrote:
>
> > > there's sample code for a variety of
languages here:
http://code.google.com/apis/checkout/samplecode.html
>
> > > and the developer guide:http://code.google.com/apis/checkout/developer/index.ht
ml
>
> > > any questions or problems we're here to try
and help
>
> > > cheers,
>
> > > On 9/14/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
>
> > > > Ahhh, yep thats cool, do you have any
idea where i can get details on
> > > > setting up the xml API to do this manual
charging from my system?
>
> > > > Thank you for your help.
>
> > > > Ben
>
> > > > On Sep 13, 5:51 pm, pablof
<pab... gmail.com> wrote:
> > > > > > Is there any way of connecting
my settle button to the google checkout
> > > > > > charge button? My Bigger
problem however is that i would prefer to
> > > > > > send the request by html form
as opposed to via xml api.
>
> > > > > if i recall correctly this isn't
possible, and even if it was it would
> > > > > be seriously advised against since
the html api is not "secure" in
> > > > > the sense that anyone can post html
requests against your accounts,
> > > > > which isn't an issue normally since
you are going to review the orders
> > > > > manually anyway.
> > > > > the xml api doesn't suffer from
this because you have to create a
> > > > > signature for the request with your
merchant key that only you and
> > > > > Google can decipher, and prevents
tampering and requests made by
> > > > > someone that has no access to your
key.
>
> > > > > cheers,
>
> > > > > On 9/13/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
>
> > > > > > Ok i Fixed my last problem and
all is working great. i do have a quick
> > > > > > query though.
>
> > > > > > My shopping cart systems back
end currently works in the following
> > > > > > way.
>
> > > > > > Customer orders product - pays
for product - receives email
> > > > > > confirmation.
>
> > > > > > My system (the payment
gateway) is not set to settle the order until
> > > > > > an administrator goes through
the order and clicks on settle. this is
> > > > > > when the money is taken from
the users account. (very much like i
> > > > > > guess how orders on google
checkout by default aren't 'charged')
>
> > > > > > Is there any way of connecting
my settle button to the google checkout
> > > > > > charge button? My Bigger
problem however is that i would prefer to
> > > > > > send the request by html form
as opposed to via xml api.
>
> > > > > > Please if you know if this is
possible and how i would be extremely
> > > > > > grateful
>
> > > > > > Cheers
>
> > > > > > Ben
>
> > > > > > On Sep 13, 1:05 pm,
"benalemb... gmail.com" <benalemb... gmail.com>
> > > > > > wrote:
> > > > > > > that is
perfect, just what i was looking for. Ive hit another
> > > > > > > problem now
mycallbackpage doesn't seem to be being called. Ive got
> > > > > > > some test actions running
at the moment which i have tested with a
> > > > > > > test xml response,
however when i process an order and check to see if
> > > > > > > thecallbackpage has been
actioned it never does. Is there a setting
> > > > > > > somewhere that im
missing? ive checked the integration errors and
> > > > > > > nothing appears to be
wrong just nothing happens.
>
> > > > > > > Thanks
>
> > > > > > > Ben
>
> > > > > > > On Sep 12, 2:31 pm,
pablof <pab... gmail.com> wrote:
>
> > > > > > > > > Is there a form
variable equivilent to the continue
> > > > > > > > > shopping tag?
>
> > > > > > > > there are several
examples on using xml tags in html
> > > > > > > > (continue-shopping
included) here:
>
> > > > > > > >http://checkout.google.com/support/s
ell/bin/answer.py?answer=64729&to...
>
> > > > > > > > > Im not sure
what level 2 integration is but i do need google checkout
> > > > > > > > > to notify my
system (which im guessing is what id use thecallback
> > > > > > > > > for) after the
customer has made a payment (ie I need the shopping
> > > > > > > > > cart ID passed
back with a status of whether the transaction has been
> > > > > > > > > authorised,
cancelled or denied.)
>
> > > > > > > > you can read more
about implementing the notification api here:http://code.google.com/apis/checkout/dev
eloper/index.html#notificatio...
>
> > > > > > > > cheers,
>
> > > > > > > > On 9/12/07,
benalemb... gmail.com <benalemb... gmail.com> wrote:
>
> > > > > > > > > Hi,
>
> > > > > > > > > Thank you for
your help, the continue shopping tag is exactly what i
> > > > > > > > > want to be able
to enable. I am however not using the xml api i am
> > > > > > > > > just passing my
shopping cart details to the checkout using form
> > > > > > > > > variables. Is
there a form variable equivilent to the continue
> > > > > > > > > shopping tag?
>
> > > > > > > > > Im not sure
what level 2 integration is but i do need google checkout
> > > > > > > > > to notify my
system (which im guessing is what id use thecallback
> > > > > > > > > for) after the
customer has made a payment (ie I need the shopping
> > > > > > > > > cart ID passed
back with a status of whether the transaction has been
> > > > > > > > > authorised,
cancelled or denied.)
>
> > > > > > > > > Thanks again
for your help.
>
> > > > > > > > > Ben
>
> > > > > > > > > On Sep 11, 5:51
pm, "Ignacio Blanco" <blanco... gmail.com> wrote:
> > > > > > > > > > Hi,
>
> > > > > > > > > > I think
you are a bit confused.
>
> > > > > > > > > > The
APIcallbackURL is only for level 2 integration and it is
used by
> > > > > > > > > > Checkout
to send you (Merchant) notifications about orders, i.e.: new
order
> > > > > > > > > >
notification, order state change, etc.
>
> > > > > > > > > > Then you
are asking if the user can be taken to your site, this can
be done
> > > > > > > > > > but is not
automatic, you will need to add to your shopping cart the
> > > > > > > > > >
continue-shopping-url tag (http://code.google.com/apis/checkout/dev
eloper/index.html#tag_continu...
> > > > > > > > > > ).
>
> > > > > > > > > > Finally
you talk about thecallback-url, this is a different, url
this one
> > > > > > > > > > is used
when dealing with merchant calculations, which is a Google
Checkout
> > > > > > > > > > feature
that enables you to calculate shipping costs, process
coupons and
> > > > > > > > > > gift
certificates in real time using a synchronous call to your
server.
>
> > > > > > > > > > Hope
everything is clear now.
>
> > > > > > > > > > Regards,
>
> > > > > > > > > > Ignacio.
>
> > > > > > > > > > On
9/11/07, benalemb... gmail.com <benalemb... gmail.com> wrote:
>
> > > > > > > > > > > Hi,
>
> > > > > > > > > > > Just
implementing google checkout (html API) into my shopping
cart,
> > > > > > > > > > > and
was wondering if anyone could let me know if it is possible
to
> > > > > > > > > > > have
google checkout send the user back to mycallbackpage
> > > > > > > > > > >
(preferably with some pass or fail data).
>
> > > > > > > > > > > I've
seen the "APIcallbackURL" field under integration
and am
> > > > > > > > > > >
guessing this just posts data to the specified field.
>
> > > > > > > > > > > I
would really prefer the users to be brought straight back to
my
> > > > > > > > > > >
site.
>
> > > > > > > > > > > I'm
hoping there is just a form field i can pass acallbackurl
in.
>
> > > > > > > > > > > Thank
you in advance.
>
> > > > > > > > > > > Ben
>
> > > > > > > > > > --
> > > > > > > > > > Code is
like art but people loves painting something and putting it
into a
> > > > > > > > > > museum or
art gallery, what happen with code then? -> LETS
OPENSOURCE IT
> > > > > > > > > > If i have
an apple and you have an apple and we switch then we both
have an
> > > > > > > > > > apple.
> > > > > > > > > > But if i
have an idea and you have an idea and we switch then we both
have
> > > > > > > > > > two
ideas.- Hide quoted text -
>
> > > > > > > > > > - Show
quoted text -
>
> > > > > > > > --
> > > > > > > > pablof
>
> > > > > --
> > > > > 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-integration googlegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
| Re: HTML API Callback integration |

|
2007-09-25 09:24:09 |
the amount tag is optional, if omitted GC will refund the
full amount
of the order.
more info:
http://
code.google.com/apis/checkout/developer/Google_Checkout_XML_
API_Financial_Commands.html#tag_amount
h
ttp://code.google.com/apis/checkout/developer/Google_Checkou
t_XML_API_Financial_Commands.html#tag_refund-order
cheers,
On 9/25/07, benalembick gmail.com <benalembick gmail.com> wrote:
>
> Ok Guys / Gals,
>
> Gotta a quicky. To cancel an order i have to make sure
that my order
> is fully refunded first so i run my refund code before
the cancel
> stuff, however is there a way i can request the total
value of the
> order so i know how much to refund to set the order to
000. or is
> there a way to set the refund to all instead of a
certain amount??
> (that would be better).
>
> Cheers
>
> Ben
>
>
> On Sep 24, 5:13 pm, "benalemb... gmail.com" <benalemb... gmail.com>
> wrote:
> > OMG apologies, I just tried changing my currency
to GBP which is what
> > all my orders are being processed in and its just
worked fine.
> >
> > Im really sorry for being a pain, Iwill say though
that i only spotted
> > it because i copied and pasted my xml stuff into
the previous post, so
> > in theory you guys have still helped me
> >
> > Thanks, and sorry, no doubt ill have another
problem shortly
> >
> > cheers
> >
> > Ben
> >
> > On Sep 24, 4:40 pm, "benalemb... gmail.com" <benalemb... gmail.com>
> > wrote:
> >
> > > Thank you
for the links, much appreciated. I have managed to
> > > implement my system to send the cancel order
xml tohttps://sandbox.google.com/checkout/api/
checkout/v2/request/Merchant/...
> > > (xml sent below).
> >
> > > <cancel-order xmlns="http://chec
kout.google.com/schema/2" google-order-
> > > number="XXX">
> > > <reason>Buyer cancelled the
order.</reason>
> > > <comment>Buyer ordered another
item.</comment>
> > > </cancel-order>
> >
> > > And i am receiving the following xml
response, which appears to be all
> > > good
> >
> > > <?xml version="1.0"
encoding="UTF-8"?>
> > > <diagnosis xmlns="http://chec
kout.google.com/schema/2" serial-
> > > number="XXX">
> > > <input-xml>
> > > <cancel-order
google-order-number="XXX">
> > > <comment>Buyer
ordered another item.</comment>
> > > <reason>Buyer
cancelled the order.</reason>
> > > </cancel-order>
> > > </input-xml>
> > > </diagnosis>
> >
> > > However the order is not being cancelled in
my sandbox account. Any
> > > idea what im doing wrong, i have just noticed
that the URL that im
> > > using to submit the request to is
.../diagnose could this be my
> > > problem? if so what is the correct URL to
use.
> >
> > > Thanks again for you ongoing support, it is
much appreciated.
> >
> > > Regards
> >
> > > Ben
> >
> > > On Sep 14, 1:36 pm, pablof <pab... gmail.com> wrote:
> >
> > > > there's sample code for a variety of
languages here:
http://code.google.com/apis/checkout/samplecode.html
> >
> > > > and the developer guide:http://code.google.com/apis/checkout/developer/index.ht
ml
> >
> > > > any questions or problems we're here to
try and help
> >
> > > > cheers,
> >
> > > > On 9/14/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
> >
> > > > > Ahhh, yep thats cool, do you have
any idea where i can get details on
> > > > > setting up the xml API to do this
manual charging from my system?
> >
> > > > > Thank you for your help.
> >
> > > > > Ben
> >
> > > > > On Sep 13, 5:51 pm, pablof
<pab... gmail.com> wrote:
> > > > > > > Is there any way of
connecting my settle button to the google checkout
> > > > > > > charge button? My Bigger
problem however is that i would prefer to
> > > > > > > send the request by html
form as opposed to via xml api.
> >
> > > > > > if i recall correctly this
isn't possible, and even if it was it would
> > > > > > be seriously advised against
since the html api is not "secure" in
> > > > > > the sense that anyone can post
html requests against your accounts,
> > > > > > which isn't an issue normally
since you are going to review the orders
> > > > > > manually anyway.
> > > > > > the xml api doesn't suffer
from this because you have to create a
> > > > > > signature for the request with
your merchant key that only you and
> > > > > > Google can decipher, and
prevents tampering and requests made by
> > > > > > someone that has no access to
your key.
> >
> > > > > > cheers,
> >
> > > > > > On 9/13/07, benalemb... gmail.com
<benalemb... gmail.com> wrote:
> >
> > > > > > > Ok i Fixed my last
problem and all is working great. i do have a quick
> > > > > > > query though.
> >
> > > > > > > My shopping cart systems
back end currently works in the following
> > > > > > > way.
> >
> > > > > > > Customer orders product -
pays for product - receives email
> > > > > > > confirmation.
> >
> > > > > > > My system (the payment
gateway) is not set to settle the order until
> > > > > > > an administrator goes
through the order and clicks on settle. this is
> > > > > > > when the money is taken
from the users account. (very much like i
> > > > > > > guess how orders on
google checkout by default aren't 'charged')
> >
> > > > > > > Is there any way of
connecting my settle button to the google checkout
> > > > > > > charge button? My Bigger
problem however is that i would prefer to
> > > > > > > send the request by html
form as opposed to via xml api.
> >
> > > > > > > Please if you know if
this is possible and how i would be extremely
> > > > > > > grateful
> >
> > > > > > > Cheers
> >
> > > > > > > Ben
> >
> > > > > > > On Sep 13, 1:05 pm,
"benalemb... gmail.com" <benalemb... gmail.com>
> > > > > > > wrote:
> > > > > > > > that is
perfect, just what i was looking for. Ive hit another
> > > > > > > > problem now
mycallbackpage doesn't seem to be being called. Ive got
> > > > > > > > some test actions
running at the moment which i have tested with a
> > > > > > > > test xml response,
however when i process an order and check to see if
> > > > > > > > thecallbackpage has
been actioned it never does. Is there a setting
> > > > > > > > somewhere that im
missing? ive checked the integration errors and
> > > > > > > > nothing appears to
be wrong just nothing happens.
> >
> > > > > > > > Thanks
> >
> > > > > > > > Ben
> >
> > > > > > > > On Sep 12, 2:31 pm,
pablof <pab... gmail.com> wrote:
> >
> > > > > > > > > > Is there a
form variable equivilent to the continue
> > > > > > > > > > shopping
tag?
> >
> > > > > > > > > there are
several examples on using xml tags in html
> > > > > > > > >
(continue-shopping included) here:
> >
> > > > > > > > >http://checkout.google.com/support/s
ell/bin/answer.py?answer=64729&to...
> >
> > > > > > > > > > Im not
sure what level 2 integration is but i do need google
checkout
> > > > > > > > > > to notify
my system (which im guessing is what id use thecallback
> > > > > > > > > > for) after
the customer has made a payment (ie I need the shopping
> > > > > > > > > > cart ID
passed back with a status of whether the transaction has
been
> > > > > > > > > >
authorised, cancelled or denied.)
> >
> > > > > > > > > you can read
more about implementing the notification api here:http://code.google.com/apis/checkout/dev
eloper/index.html#notificatio...
> >
> > > > > > > > > cheers,
> >
> > > > > > > > > On 9/12/07,
benalemb... gmail.com <benalemb... gmail.com> wrote:
> >
> > > > > > > > > > Hi,
> >
> > > > > > > > > > Thank you
for your help, the continue shopping tag is exactly what i
> > > > > > > > > > want to be
able to enable. I am however not using the xml api i am
> > > > > > > > > > just
passing my shopping cart details to the checkout using form
> > > > > > > > > > variables.
Is there a form variable equivilent to the continue
> > > > > > > > > > shopping
tag?
> >
> > > > > > > > > > Im not
sure what level 2 integration is but i do need google
checkout
> > > > > > > > > > to notify
my system (which im guessing is what id use thecallback
> > > > > > > > > > for) after
the customer has made a payment (ie I need the shopping
> > > > > > > > > > cart ID
passed back with a status of whether the transaction has
been
> > > > > > > > > >
authorised, cancelled or denied.)
> >
> > > > > > > > > > Thanks
again for your help.
> >
> > > > > > > > > > Ben
> >
> > > > > > > > > > On Sep 11,
5:51 pm, "Ignacio Blanco" <blanco... gmail.com> wrote:
> > > > > > > > > > > Hi,
> >
> > > > > > > > > > > I
think you are a bit confused.
> >
> > > > > > > > > > > The
APIcallbackURL is only for level 2 integration and it is
used by
> > > > > > > > > > >
Checkout to send you (Merchant) notifications about orders,
i.e.: new order
> > > > > > > > > > >
notification, order state change, etc.
> >
> > > > > > > > > > > Then
you are asking if the user can be taken to your site, this
can be done
> > > > > > > > > > > but
is not automatic, you will need to add to your shopping cart
the
> > > > > > > > > > >
continue-shopping-url tag (http://code.google.com/apis/checkout/dev
eloper/index.html#tag_continu...
> > > > > > > > > > > ).
> >
> > > > > > > > > > >
Finally you talk about thecallback-url, this is a different,
url this one
> > > > > > > > > > > is
used when dealing with merchant calculations, which is a
Google Checkout
> > > > > > > > > > >
feature that enables you to calculate shipping costs,
process coupons and
> > > > > > > > > > > gift
certificates in real time using a synchronous call to your
server.
> >
> > > > > > > > > > > Hope
everything is clear now.
> >
> > > > > > > > > > >
Regards,
> >
> > > > > > > > > > >
Ignacio.
> >
> > > > > > > > > > > On
9/11/07, benalemb... gmail.com <benalemb... gmail.com> wrote:
> >
> > > > > > > > > > > >
Hi,
> >
> > > > > > > > > > > >
Just implementing google checkout (html API) into my
shopping cart,
> > > > > > > > > > > >
and was wondering if anyone could let me know if it is
possible to
> > > > > > > > > > > >
have google checkout send the user back to mycallbackpage
> > > > > > > > > > > >
(preferably with some pass or fail data).
> >
> > > > > > > > > > > >
I've seen the "APIcallbackURL" field under
integration and am
> > > > > > > > > > > >
guessing this just posts data to the specified field.
> >
> > > > > > > > > > > >
I would really prefer the users to be brought straight back
to my
> > > > > > > > > > > >
site.
> >
> > > > > > > > > > > >
I'm hoping there is just a form field i can pass
acallbackurl in.
> >
> > > > > > > > > > > >
Thank you in advance.
> >
> > > > > > > > > > > >
Ben
> >
> > > > > > > > > > > --
> > > > > > > > > > > Code
is like art but people loves painting something and putting
it into a
> > > > > > > > > > >
museum or art gallery, what happen with code then? ->
LETS OPENSOURCE IT
> > > > > > > > > > > If i
have an apple and you have an apple and we switch then we
both have an
> > > > > > > > > > >
apple.
> > > > > > > > > > > But
if i have an idea and you have an idea and we switch then we
both have
> > > > > > > > > > > two
ideas.- Hide quoted text -
> >
> > > > > > > > > > > -
Show quoted text -
> >
> > > > > > > > > --
> > > > > > > > > pablof
> >
> > > > > > --
> > > > > > pablof
> >
> > > > --
> > > > 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-integration googlegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---
|
|
[1-9]
|
|