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-integration googlegroups.com
[mailto:google-checkout-api-integration googlegroups.com] On Behalf Of
adwords nufone.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-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
-~----------~----~----~----~------~----~------~--~---
|