0800d1160b
- New ShopSettings fields: autoEmailOnWireTransferPlaced, autoEmailOnFulfilledNonWireTransfer, wireTransferGatewayNames. - New Automations section in settings with two toggles + gateway list. - orders/create webhook now fires automation 1 (wire-transfer placed). - New orders/fulfilled webhook fires automation 2 (non-wire-transfer fulfilled). - Shared helper services/invoice/automations.server.ts handles classification and idempotent generate+send (skips if already sent). - Webhook subscription for orders/fulfilled added to all 3 app tomls. This is the non-Plus fallback for Shopify Flow, whose custom-app actions are gated to Plus stores only.
47 lines
1.4 KiB
TOML
47 lines
1.4 KiB
TOML
# Learn more about configuring your app at https://shopify.dev/docs/apps/tools/cli/configuration
|
|
|
|
client_id = "fbc263e6cc28e8de031878d2a0f17444"
|
|
application_url = "https://invoice-app.linumiq.com"
|
|
embedded = true
|
|
name = "linumiq-invoice"
|
|
|
|
[access_scopes]
|
|
# Read orders + customers + companies (B2B) for invoice data.
|
|
# read_files / write_files for the generated PDFs uploaded to Shopify Files.
|
|
# write_orders required to write the order metafield linking the latest PDF.
|
|
# read_all_orders allows access to orders older than 60 days for backfill.
|
|
scopes = "read_orders,write_orders,read_all_orders,read_draft_orders,read_customers,read_companies,read_files,write_files"
|
|
|
|
[webhooks]
|
|
api_version = "2026-07"
|
|
|
|
[[webhooks.subscriptions]]
|
|
uri = "/webhooks/app/uninstalled"
|
|
topics = [ "app/uninstalled" ]
|
|
|
|
[[webhooks.subscriptions]]
|
|
uri = "/webhooks/app/scopes_update"
|
|
topics = [ "app/scopes_update" ]
|
|
|
|
[[webhooks.subscriptions]]
|
|
uri = "/webhooks/orders/create"
|
|
topics = [ "orders/create" ]
|
|
|
|
[[webhooks.subscriptions]]
|
|
uri = "/webhooks/orders/updated"
|
|
topics = [ "orders/updated" ]
|
|
|
|
[[webhooks.subscriptions]]
|
|
uri = "/webhooks/orders/fulfilled"
|
|
topics = [ "orders/fulfilled" ]
|
|
|
|
[auth]
|
|
redirect_urls = [
|
|
"https://invoice-app.linumiq.com/auth/callback",
|
|
"https://invoice-app.linumiq.com/auth/shopify/callback",
|
|
"https://invoice-app.linumiq.com/api/auth/callback",
|
|
]
|
|
|
|
[build]
|
|
automatically_update_urls_on_dev = true
|