I'm feeling a bit inclined to close this as "you are using the API
wrong" here. Unfortunately, the QtPurchasing API doesn't provide a way
for giving back errors to the application, and this is an internal error
condition in QtPurchasing anyway (calling purchase() on a Product whose
status is not Registered).

Maybe shipping an abstraction on top of QtPurchasing would help to
improve the situation here, as we could have UI Toolkit
components/widgets for an in-app store, and the products, but such
issues may still exist for anyone using QtPurchasing directly.

I've been thinking about this, and I'm just not sure there's anything we
can do to handle all the cases where this would be an issue (not logged
in, offline, etc…), in a very generic way.

** Changed in: pay-service (Ubuntu)
       Status: Triaged => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518024

Title:
  [iap] "Attempted to purchase" when the user is not logged in

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pay-service/+bug/1518024/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to