[Interest] Qt Purchasing API transaction error description says -> "Unable to get intent sender from service" -

Nuno Santos nunosantos at imaginando.pt
Sat Dec 17 01:45:52 CET 2016


Hi,

I have recently came across with this transaction error description when testing in-app purchases in a testing phone: "Unable to get intent sender from service"

What does it mean?

Googling around I found this:

QAndroidJniObject intentSender = m_javaObject.callObjectMethod("createBuyIntentSender",
                                                                   "(Ljava/lang/String;)Landroid/content/IntentSender;",
                                                                   QAndroidJniObject::fromString(product->identifier()).object<jstring>());
    if (!intentSender.isValid()) {
        qWarning("Unable to get intent sender from service");
        purchaseFailed(product->identifier());
        return;
    }

What does it mean? What is causing this? Is a device related problem? Or is it a Qt Purchasing API problem?

Regards,

Nuno





More information about the Interest mailing list