我正在搜索Google结算库返回的回复样本,但我没有找到。
答案 0 :(得分:0)
Google返回
1:响应代码:如果购买成功则值为0,否则出错。
2:签名
3:购买数据订阅包含autoRenew属性,而被管理产品没有。
Subscription:
{
"orderId":"string",
"packageName":"string",
"productId":"string",
"purchaseTime":1423956863083,
"purchaseState":0,
"purchaseToken":"apafgjjemjhnoiadmmpffiil.AO-J1OySPl3pYGk4JliUkLj_Fro7FvGWiArPP0R1imx49HOmnJ4MroJNbSwkLk1WfYJmp_8g5ek5C9AAIjG_6GhC03-X0QMwfyc4epN_ZdkZqlxIKj0V5m6QQZDRhLW-8smEQ5R_USG4dtq6JTsK9UoxMO2YFXziGQ",
"autoRenewing":true
}
Products:
{
"orderId":"GPA.3374-7343-7915-33484",
"packageName":"com.windowmaker.measure.billingsamplenew",
"productId":"quotation.1",
"purchaseTime":1523956202686,
"purchaseState":0,
"purchaseToken":"ijcjjlmljnbifnlpcobchldi.AO-J1OyD96lBh3dYpPpf3yW3H4EzH_2XXFjNjL3jrVf-oPk-T7ZQvf-DF1Zd0LFtzPBn8hqdL_2ML6AXLgzBRkDcFAljIbv4Ck0ARxz-L4LPXAFgQvHGIn4Of00msbbkiI2ENpNKBgd6_MlxT7oTaMU3ltQmld7X2A"
}