Googlecheckout を使用すると、顧客の注文を CURL で送信できます。顧客は URL を返し、ユーザーをその URL に送信します。そのため、送信したデータが正しく表示されず、変更することもできません。
CURL で Amazon Checkout のポーリング リクエストがあるようですが、Amazon Checkout や Amazon FPS (フレキシブル ペイメント システム) にも同じ機能がありますか?
Google コード: https://developers.google.com/checkout/developer/Google_Checkout_HTML_API#api_details https://developers.google.com/checkout/developer/Google_Checkout_HTML_API#integration_overview // CURL の例、ここから少し下にスクロールします。
_type=checkout-shopping-cart
&shopping-cart.items.item-1.item-name=Peanut%20Butter
&shopping-cart.items.item-2.item-name=Strawberry%20Jelly
&shopping-cart.items.item-1.item-description=Made%20from%20peanuts
&shopping-cart.items.item-2.item-description=Made%20from%20strawberries
したがって、リクエストは次のようになります。
curl -d '_type=checkout-shopping-cart&shopping-cart.items.item-1.item-name=Peanut%20Butter&shopping-cart.items.item-2.item-name=Strawberry%20Jelly&shopping-cart.items.item-1.item-description=Made%20from%20peanuts&shopping-cart.items.item-2.item-description=Made%20from%20strawberries'
https://P_MERCHANT_ID:P_MERCHANT_KEY@checkout.google.com/api/checkout/v2/requestForm/Merchant/P_MERCHANT_ID