我正在寻找一个简单的JSON捐赠的贝宝定义的例子。这似乎没有涵盖在PayPal文档中。它需要一个简单的参数来指定付款的具体日期,以及每年在此日期重复使用的选项。我尝试了以下操作,但它不允许付款日期或重复发生。需要添加什么?什么是JSON支付贝宝定义的简单,最简单的例子?
var create_payment_json = {
"intent": "sale",
"payer": {
"payment_method": "paypal"
},
"redirect_urls": {
"return_url": "http://return.url",
"cancel_url": "http://cancel.url"
},
"transactions": [{
"item_list": {
"items": [{
"name": "item",
"sku": "item",
"price": "1.00",
"currency": "USD",
"quantity": 1
}]
},
"amount": {
"currency": "USD",
"total": "1.00"
},
"description": "This is the payment description."
}]
};
谢谢
这不涉及定期或特定的日期,这就是我无法找到 –