List Info

Thread: Re: 302 Moved using CURL?




Re: 302 Moved using CURL?
country flaguser name
United States
2007-04-15 21:36:34
Add '/checkout' after the domain name.  I.e.
sandbox.google.com/checkout/cws/....

This was changed back near the first of the year.

tony 

www.ez-order-manager.com

-----Original Message-----
From: google-checkout-api-integrationgooglegroups.com
[mailto:google-checkout-api-integrationgooglegroups.com] On Behalf Of
adwordsnufone.net
Sent: Sunday, April 15, 2007 6:55 PM
To: Google Checkout Developers Forum - API Integration
Basics
Subject: [google-checkout-api-integration] 302 Moved using
CURL?


Executing curl -d "<hello />"
https://608.....:5T.....
sandbox.google.com/cws/v2/Merchant/608...../req
uest/


Recieves a 302 Moved to google.com.

Of course, I am using a valid merchant id and key.


I would like to submit charge and refund orders.



Verbose:


* About to connect() to sandbox.google.com port 443
*   Trying 216.239.57.81... connected
* Connected to sandbox.google.com (216.239.57.81) port 443
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* SSLv2, Client hello (1):
SSLv3, TLS handshake, Server hello (2):
SSLv3, TLS handshake, CERT (11):
SSLv3, TLS handshake, Server finished (14):
SSLv3, TLS handshake, Client key exchange (16):
SSLv3, TLS change cipher, Client hello (1):
SSLv3, TLS handshake, Finished (20):
SSLv3, TLS change cipher, Client hello (1):
SSLv3, TLS handshake, Finished (20):
SSL connection using AES256-SHA
* Server certificate:
*        subject: /C=US/ST=California/L=Mountain
View/O=Google Inc./
CN=sandbox.google.com
*        start date: 2006-03-01 18:55:05 GMT
*        expire date: 2008-03-01 18:55:05 GMT
*        common name: sandbox.google.com (matched)
*        issuer: /C=US/O=Equifax/OU=Equifax Secure
Certificate
Authority
* SSL certificate verify ok.
* Server auth using Basic with user '608.......'
> POST /cws/v2/Merchant/608......../request/ HTTP/1.1
> Authorization: Basic NjA.......
> User-Agent: curl/7.15.5 (i486-pc-linux-gnu)
libcurl/7.15.5 
> OpenSSL/0.9.8c zlib/1.2.3 libidn/0.6.5
> Host: sandbox.google.com
> Accept: */*
> Content-Length: 9
> Content-Type: application/x-www-form-urlencoded
>
> <hello />HTTP/1.1 302 Found
< Location: http://www.google.com
< Date: Mon, 16 Apr 2007 01:52:26 GMT
< Content-Type: text/html
< Server: GFE/1.3
< Content-Length: 218
<HTML><HEAD><meta
http-equiv="content-type" content="text/
html;charset=utf-8">
<TITLE>302
Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http:/
/www.google.com">here</A>.
</BODY></HTML>
* Connection #0 to host sandbox.google.com left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):




--~--~---------~--~----~------------~-------~--~----~
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: 302 Moved using CURL?
country flaguser name
United States
2007-04-17 09:31:58
Shouldn't a Googler update the documentation then?  
Everything I have
found mentions sandbox.google.com/cws/



Jeremy McNamara
http://www.nufone.net/


--~--~---------~--~----~------------~-------~--~----~
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: 302 Moved using CURL?
country flaguser name
United States
2007-04-17 12:20:43
Hi,

Do you mind letting us know where you found
"sandbox.google.com/cws/"
in our documentation?


Thanks,
Jacob

On Apr 17, 7:31 am, "adwo...nufone.net"
<adwo...nufone.net> wrote:
> Shouldn't a Googler update the documentation then?  
Everything I have
> found mentions sandbox.google.com/cws/
>
> Jeremy McNamarahttp://www.nufone.net/


--~--~---------~--~----~------------~-------~--~----~
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: 302 Moved using CURL?
user name
2007-04-17 13:02:06
Please jeremy, paste here the links where the docs bugs are, so the can be updated!

thx in advance!

ropu

On 4/17/07, adwordsnufone.net"> adwordsnufone.net < adwordsnufone.net">adwordsnufone.net> wrote:

Shouldn't a Googler update the documentation then? ;  Everything I have
found mentions sandbox.google.com/cws/



Jeremy McNamara
http://www.nufone.net/

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

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