Skip to main content
New Participant
Dec 4, 2026 4:37 PM UTC
Question

Digital Goods API in a published WebXR PWA: getDetails/listPurchases reject with OperationError, but PaymentRequest purchase works

Hi, I'm the developer of a published WebXR PWA (packaged with Meta's Bubblewrap fork, immersive mode).

 

App: Pranayama, App ID [deleted], package it.shakuhachisensei.pranayama, build 11 (versionCode 11), published on the Meta Horizon Store.

Add-on: durable, SKU "versione_completa", published.

Data Use Checkup: "In-app purchases and/or downloadable content" is approved.

 

What happens (app installed from the store, Quest, controllers):

1. window.getDigitalGoodsService('https://quest.meta.com/billing') resolves.

2. service.getDetails(['versione_completa']) and service.listPurchases() both reject with OperationError (on one headset the message is "clientAppUnavailable"). I retried several times at 2, 5, 15 and 40 seconds after launch, and again from a manual "restore purchase" button: always the same error.

3. new PaymentRequest([{ supportedMethods: 'https://quest.meta.com/billing', data: { sku: 'versione_completa' } }], ...).show() called inside a "select" event opens the Meta payment window on one tester's headset, and the purchase completes (the tester received the Meta receipt). Afterwards listPurchases() still rejects, so the app cannot confirm the purchase and the tester stays locked.

4. On my own headset (developer account, same app) show() rejects immediately with AbortError and the payment window never opens.

 

The code follows the example in the PWA in-app purchase documentation (service URL, getDetails, listPurchases, PaymentRequest with sku, complete('success')).

 

Questions:

1. What causes OperationError / clientAppUnavailable on getDetails and listPurchases for a published app that was installed from the store?

2. Is there a requirement (app state, release channel, headset software, account type) that I'm missing?

3. How can a customer who already paid get the entitlement recognized in the app, given that listPurchases() fails?

 

I can provide logs or a minimal test page if useful. Thank you.

[post edited by a moderator for privacy]

    1 reply

    steve40
    Honored Contributor
    Dec 4, 2026 11:46 PM UTC

    You should submit a support ticket through the developer portal rather than posting here.