0
我設置了1個月的試用期的PayPal計劃。PayPal賬單計劃不允許用戶使用PayPal餘額
當用戶註冊時的結算協議,他們無法使用他們的PayPal餘額。
這有什麼理由會發生?我在一個論壇上看到,當賬單計劃設置不正確時,PayPal可能會強制用戶使用卡或銀行賬戶,但我認爲情況並非如此。
我的REST調用來設置計劃:
curl -v -X POST https://api.paypal.com/v1/payments/billing-plans/ \
-H "Content-Type:application/json" \
-H "Authorization: Bearer <Access Key>" \
-d '{
"name": "Plan",
"description": "Plan desc",
"type": "FIXED",
"payment_definitions": [
{
"name": "Regular payment definition",
"type": "REGULAR",
"frequency": "MONTH",
"frequency_interval": "1",
"amount": {
"value": "45",
"currency": "USD"
},
"cycles": "12",
"charge_models": [
]
},
{
"name": "Trial payment definition",
"type": "TRIAL",
"frequency": "MONTH",
"frequency_interval": "1",
"amount": {
"value": "0",
"currency": "USD"
},
"cycles": "1",
"charge_models": [
]
}
],
"merchant_preferences": {
"return_url": "http://www.paypal.com",
"cancel_url": "http://www.paypal.com/cancel",
"auto_bill_amount": "YES",
"initial_fail_amount_action": "CANCEL",
"max_fail_attempts": "0"
}
}'
任何幫助或洞察力將不勝感激。
謝謝!