Skip to content
hygge

Connect Shopify

Install the Hygge app on your Shopify store via OAuth — what we ask for, why, and what to do if it fails.

Last updated 2018-10-20

Hygge installs on Shopify like any app — through standard OAuth. We never ask for an admin password or store data we don't need.

What permissions we request#

We only request the scopes required to run a checkout. Specifically:

ScopeWhy
read_products, write_ordersVerify variant prices and create the paid order back in Shopify
read_orders, read_customersLook up the order to attach the right customer
write_checkouts, read_checkoutsRender and close the buyer's checkout

We do not request write_products, write_customers, theme write access, or any payment processor scopes.

Walkthrough#

  1. Start from the dashboard

    Log into your Hygge dashboard, click Connect Shopify on the setup widget. We'll ask for your store handle (e.g. yourstore or yourstore.myshopify.com — both work).

  2. Approve in Shopify

    Shopify shows a permissions screen listing the scopes above. Click Install app.

    Shopify install screen showing Hygge requesting cart and order scopes

  3. Land back in the dashboard

    Shopify redirects you back to Hygge with a confirmation. We immediately register the webhooks we need — including the GDPR-mandated ones — and inject a lightweight script tag into your storefront.

What we install on your store#

  • One script tag loaded with display_scope=online_store. It listens for cart updates and opens the Hygge drawer when the buyer clicks Checkout.
  • Five webhooks: orders/create, app/uninstalled, plus the three GDPR webhooks Shopify requires (data request, customer redact, shop redact).

No theme files are modified. Uninstalling Hygge removes the script tag automatically.

What if OAuth fails?#

Most OAuth failures fall into one of these buckets:

  • "Invalid shop domain" — make sure you're typing the part before .myshopify.com, not your custom domain. We accept either form, but custom domains (e.g. yourstore.com) won't validate.
  • "State mismatch" — your browser blocked the OAuth cookie. Disable strict tracking protection for payhygge.com and retry.
  • Redirect loop — clear cookies for *.myshopify.com and payhygge.com, then start the install over.

If none of those help, email hello@payhygge.com with the URL you landed on — there's almost always a query param in there that tells us exactly what failed.

Spotted a typo or wrong fact? hello@payhygge.com — we ship doc fixes the same day.