I can`t find the callback url for toml config.
In step 3 of the Track Flow lifecycle events in the development documentation, Change the URL in the generated TOML to the URL configured on the web server,
But I did not find the relevant configuration parameters in TOML,
Can somebady help me ? A bewildered face.
Most likely you have managed installs enabled (which might be the new default).
The callback URL only matters if your TOML contains use_legacy_flow=true
. Otherwise, managed installs is enabled.
If you do have managed installs enabled, then you simply have to set the application_url
to your app’s entry home page, and simply just forget about OAuth.
Shopify will automatically perform the OAuth handshake for you, and you can use the session token issued on the frontend to authenticate the merchant’s session as well as retrieve their online/offline access tokens through the exchange API.
My TOML file content:
[[extensions]]
name = “Last event update”
type = “flow_trigger”
handle = “last-event-update”
description = “Triggered when the package trajectory changes”
application_url = “https://test-shopify-.net/"
runtime_url = "https://test-shopify-.net/******”
use_legacy_flow = true
[settings]
[[settings.fields]]
type = “order_reference”
[[settings.fields]]
type = “product_reference”
[[settings.fields]]
type = “single_line_text_field”
key = “status”
[[settings.fields]]
type = “single_line_text_field”
key = “Tracking Number”
[[settings.fields]]
type = “single_line_text_field”
key = “Carrier Name”
[[settings.fields]]
type = “single_line_text_field”
key = “Last Event Time”
[[settings.fields]]
type = “single_line_text_field”
key = “Last Event Desc”
But it can`t callback. Where the writing is wrong?