跟踪结束后,Paypal 不向客户收费
Paypal not charging the customer after the trail ends
我正在制定贝宝订阅计划。我面临两个问题。第一,有没有没有试用期的方案?第二,Paypal在试用期结束后不再向客户收费。
let body = {
"product_id": "PROD-81J67779NH423045A",
"name": obj.pname,
"description": obj.description,
"billing_cycles": [
{
"frequency": {
"interval_unit": "DAY",
"interval_count": 1
},
"tenure_type": "TRIAL",
"sequence": 1,
"total_cycles": 1
},
{
"frequency": {
"interval_unit": obj.duration,
"interval_count": 1
},
"tenure_type": "REGULAR",
"sequence": 2,
"total_cycles": 12,
"pricing_scheme": {
"fixed_price": {
"value": obj.price,
"currency_code": "USD"
}
}
}
],
"payment_preferences": {
"service_type": "PREPAID",
"auto_bill_outstanding": true,
"setup_fee": {
"value": obj.price,
"currency_code": "USD"
},
"setup_fee_failure_action": "CONTINUE",
"payment_failure_threshold": 3
},
"quantity_supported": true,
"taxes": {
"percentage": obj.tax,
"inclusive": false
}
}
您可以有一个没有试用期的计划。
删除整个块,让常规块成为 sequence: 1
。
至于它 'not charging',您可能还没有等到足够多的 24 小时周期来启动它。订阅是分批计费的,因此可能需要一天中的一些时间来完成最初的 non-billing试用期就算开始了,再过一天就到运行.
我正在制定贝宝订阅计划。我面临两个问题。第一,有没有没有试用期的方案?第二,Paypal在试用期结束后不再向客户收费。
let body = {
"product_id": "PROD-81J67779NH423045A",
"name": obj.pname,
"description": obj.description,
"billing_cycles": [
{
"frequency": {
"interval_unit": "DAY",
"interval_count": 1
},
"tenure_type": "TRIAL",
"sequence": 1,
"total_cycles": 1
},
{
"frequency": {
"interval_unit": obj.duration,
"interval_count": 1
},
"tenure_type": "REGULAR",
"sequence": 2,
"total_cycles": 12,
"pricing_scheme": {
"fixed_price": {
"value": obj.price,
"currency_code": "USD"
}
}
}
],
"payment_preferences": {
"service_type": "PREPAID",
"auto_bill_outstanding": true,
"setup_fee": {
"value": obj.price,
"currency_code": "USD"
},
"setup_fee_failure_action": "CONTINUE",
"payment_failure_threshold": 3
},
"quantity_supported": true,
"taxes": {
"percentage": obj.tax,
"inclusive": false
}
}
您可以有一个没有试用期的计划。
删除整个块,让常规块成为 sequence: 1
。
至于它 'not charging',您可能还没有等到足够多的 24 小时周期来启动它。订阅是分批计费的,因此可能需要一天中的一些时间来完成最初的 non-billing试用期就算开始了,再过一天就到运行.