Google チェックアウトに xml リクエストを送信し、xml レスポンスも取得しています。
私が送っているリクエストは
StringBuffer buf = new StringBuffer();
buf.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
buf.append("<checkout-shopping-cart xmlns=\"http://checkout.google.com/schema/2\">");
buf.append("<shopping-cart>");
buf.append("<items>");
buf.append("<item>");
buf.append("<item-name>Ville</item-name>");
buf.append("<item-description>BabbleVille</item-description>");
buf.append("<unit-price currency=\"USD\">12</unit-price>");
buf.append("<quantity>1</quantity>");
buf.append("</item>");
buf.append("</items>");
buf.append("</shopping-cart>");
buf.append("<checkout-flow-support>");
buf.append("<merchant-checkout-flow-support>");
buf.append("<shipping-methods>");
buf.append("<flat-rate-shipping name=\"SuperShip Ground\">");
buf.append("<price currency=\"USD\">9.99</price>");
buf.append("</flat-rate-shipping>");
buf.append("</shipping-methods>");
buf.append("</merchant-checkout-flow-support>");
buf.append("</checkout-flow-support>");
buf.append("</checkout-shopping-cart>");
私が得ている応答は
<?xml version="1.0" encoding="UTF-8"?>
<checkout-redirect xmlns="http://checkout.google.com/schema/2" serial-number="4f6d85ac-0e83-41f1-81ef-60e86bd07b9d">
<redirect-url>https://sandbox.google.com/checkout/view/buy?o=shoppingcart&shoppingcart=602624134680807</redirect-url>
</checkout-redirect>
今、私はこの応答で何をすべきかわかりません。Google Checkout を初めて使用します。ブラウザで開いた場合に取得するリダイレクト URL にエラーが表示されます。購入者が自分の Google アカウントを入力するようにリダイレクトされる方法を教えてください。
どなたか、この回答の進め方を教えていただけませんか?