Googlecheckout允许你对客户的订单进行CURL,他们返回一个URL,然后你把这个URL发送给用户,这样他们就看不到你发送好的数据,从而他们也无法修改它。
我看到有轮询请求亚马逊结帐与CURL,但它是否存在相同的功能在亚马逊结帐,或亚马逊FPS(灵活的支付系统)?
谷歌代码:https://developers.google.com/checkout/developer/Google_Checkout_HTML_API#api_detailshttps://developers.google.com/checkout/developer/Google_Checkout_HTML_API#integration_overview示例,从此处向下滚动一点。
_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
1条答案
按热度按时间hyrbngr71#
可悲的是,亚马逊缺乏文档,或者至少很难找到。你可以试着在https://aws.amazon.com/support/上问他们