मैं पहले से ही इंटरनेट कनेक्शन की जांच कर रहा हूं और Google Play Market नवीनतम पैकेज संस्करण के साथ स्थापित है।getBuyIntent रिटर्न शून्य एपीआई संस्करण 3 इन-ऐप बिलिंग
असल में पारगम्य विफल रहा है क्योंकि इन-ऐप खरीदारी के लिए खरीद इंटेन्टेंट पहली बार उपयोग होने के बाद शून्य हो रहा है।
यहाँ कोड है और मैं त्रुटि (कोई और कहाँ)
मैं भी इस कैच ब्लॉक से लौटे हो रही है, लेकिन मुझे यकीन है कि इसका क्या मतलब नहीं हूँ, पैकेज पर शक इस ब्लॉक में होना करने के लिए नाम बदल दिया गया है क्योंकि मैं नहीं चाहता कि मेरा ऐप दिखाया जाए।
त्रुटि: (नहीं अपने पैकेज लेकिन प्रणाली के स्तर से)
[79] InAppBillingUtils.getPreferredAccount: com.mypackage.appname: Account from first account - [jbC6uT04zd8tXCrK]
कोड:
Bundle buyIntentBundle = null;
try
{
buyIntentBundle =
mServiceConnection.mBillingService.getBuyIntent(
3,
mContext.getPackageName(),
mPurchaseCodesAsStrings[PurchaseType],
"inapp",
mDeveloperPayload
);
}
catch (RemoteException e)
{
e.printStackTrace();
}
PendingIntent pendingIntent = buyIntentBundle.getParcelable("BUY_INTENT");