I'm very confused by the current in-app billing documentation.
Here it says to initiate a purchase this call has to be made:
mHelper.launchPurchaseFlow(this, SKU_GAS, 10001,
mPurchaseFinishedListener, "bGoa+V7g/yqDXvKRqq+JTFn4uQZbPiQJo4pf9RzJ");
here it says that a pendingIntent initiates a purchase like this
Bundle buyIntentBundle = mService.getBuyIntent(3, getPackageName(), sku, "inapp",
"bGoa+V7g/yqDXvKRqq+JTFn4uQZbPiQJo4pf9RzJ");
PendingIntent pendingIntent = buyIntentBundle.getParcelable("BUY_INTENT");
startIntentSenderForResult(pendingIntent.getIntentSender(),
1001, new Intent(), Integer.valueOf(0), Integer.valueOf(0),
Integer.valueOf(0));
So which one is it? They both are API version 3 and both of these ways work independently of each other. Very confusing...