我已将JWT
设置为通过免费试用提交订阅,但仍会向该帐户收取经常性费用。
{
"aud": "Google",
"iss": "11481745815237711699",
"request": {
"initialPayment": {
"paymentType": "free_trial",
"price": "0.00",
"currencyCode": "JPY"
},
"name": "Automaton Scheduler Subscription (BASIC)",
"currencyCode": "JPY",
"sellerData": "user_id:9,subscription_id:4",
"recurrence": {
"price": "3000.00",
"frequency": "monthly",
"currencyCode": "JPY"
},
"description": "Monthly subscription with up to 20 users."
},
"exp": 1402563800,
"iat": 1402560200,
"typ": "google/payments/inapp/subscription/v1"
}
这不应该跳过第一笔付款,等一个月,然后收取费用吗?
我错过了什么吗?我是否必须手动设置startTime
?感谢您的任何见解!
答案 0 :(得分:0)
您必须手动设置startTime
的{{1}}字段,即使它是可选的并且设置了JWT
。它使用时间戳,因此free_trial
会将其推回一个月。如果未设置,则会在下订单时收费。
https://developers.google.com/wallet/digital/docs/jsreference#jwt