1

我已经成功地In-App Billing在 Android 中实现了。
我遇到的唯一问题是当我使用restoreTransaction()方法要求Google返回order idwith Signed Data(购买状态)时。
它正在退货Null orders array,即使该商品已经购买。
这是日志:

08-27 08:30:24.342: I/BillingService(17152): handleCommand() action: com.android.vending.billing.PURCHASE_STATE_CHANGED
08-27 08:30:24.342: I/BillingService(17152): purchaseStateChanged
08-27 08:30:24.342: I/class com.folio3.games.candymonster.billing.Security(17152): signedData: {"nonce":XXXXXXXXXXXXXXXXXXXXXXXXX,"orders":[]}
08-27 08:30:24.362: I/class com.folio3.games.candymonster.billing.Security(17152): signature: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
4

0 回答 0