반응형
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Arrived: 1, 1
Ending async operation: launchPurchaseFlow
Successful resultcode from purchase activity.
Purchase data: null
Data signature: null
Extras: Bundle[{RESPONSE_CODE=0}]
Expected item type: inapp
BUG: either purchaseData or dataSignature is null.
Extras: Bundle[{RESPONSE_CODE=0}]
IAB returned null purchaseData or dataSignature (response: -1008:Unknown error)
** Activity (main) Resume **
I checked stackoverflow found a topic http://stackoverflow.com/questions/...ns-error-code-1008-null-puchasedata-or-datasi
according tho them the problem is :
"If you call mHelper.launchPurchaseFlow(...) with an SKU that is registered as a subscription on Google Developer Console it will result in the error: IAB returned null purchaseData or dataSignature (response -1008:Unknown error).
If you have a SKU that is registered as an
subscription you have to use the
method:mHelper.launchSubscriptionPurchase
Flow(...) instead."
NOT launchPurchaseFlow(...)
// mHelper.launchPurchaseFlow(InAppTestActivity.this, strItemId,
// 1001, mPurchaseFinishedListener, payload);
// 2017/09/24
mHelper.launchSubscriptionPurchaseFlow(InAppTestActivity.this, strItemId,
1001, mPurchaseFinishedListener, payload);
How can i fix this bacause it is impossibe to activate a feature upon purchase. Alotugh the charge is made to customers credit card , event not firing until relaunch?
반응형
'모바일개발(Mobile Dev) > 안드로이드개발(Android)' 카테고리의 다른 글
google account registration (0) | 2017.09.30 |
---|---|
payment concern (0) | 2017.09.24 |
getActivity() usage when using preference startActivityResult ?!? (0) | 2017.09.11 |
userful information (0) | 2017.09.10 |
android icon guide (0) | 2017.09.10 |