Microphone Access

Topic summary

Seeking to enable voice recording on the Shopify Thank you/order status page via a Checkout UI extension. The goal is for a widget button to access the device microphone.

Attempts and results:

  • Using navigator.mediaDevices.getUserMedia in a Checkout UI extension triggers an error indicating microphone access is not allowed by Shopify.
  • Embedding the widget via an iframe within a Checkout UI extension is not supported.
  • Creating a theme extension block with an iframe was tried, but it appears you cannot add such a block to the Thank you page; even if possible, microphone permissions remain uncertain.

Key terms:

  • Checkout UI extension: a Shopify mechanism to customize checkout and order status interfaces.
  • getUserMedia: a web API to request microphone/camera access.
  • iframe: an embedded frame for external content.

Status: Unresolved. The poster asks whether microphone access is possible at all in this context or if Shopify disallows it for security reasons; guidance is requested.

Summarized with AI on December 26. AI used: gpt-5.

Hey all, does anyone know if it’s possible to access the device’s microphone specifically from a Checkout UI extension (for context, I’m building an app that adds a widget on the thank you/order status page and has a button that if clicked, would allow the user to do a voice recording through the device’s microphone).

I’ve tried:

  • Using navigator.mediaDevices.getUserMedia in the Checkout UI extension itself, but getting an error that Shopify doesn’t allow access to the microphone.
  • Putting an iframe pointing to my widget in the Checkout UI extension, but looks it doesn’t support using
  • Creating a theme extension block that contains an Iframe pointing to my widget. But it doesn’t seem like I can add a theme extension block to the Thank you page, and even if I could, not sure that it would allow microphone access anyway.

Does anyone know if microphone access is possible or if I’m missing anything? Or is it just a security risk that Shopify doesn’t allow?