\r\n\u003C/template>\r\n\r\n\u003Cscript setup>\r\n const paymentEl = ref(null)\r\n const { onLoaded } = useScriptStripe()\r\n onMounted(() => {\r\n onLoaded(async ({ Stripe }) => {\r\n alert(\"Callback was called\")\r\n const stripe = Stripe(\r\n \"pk_live_5....\",\r\n )\r\n })\r\n })\r\n\u003C/script>\r\n```\r\nThe onLoaded function does not seem to be working as the callback function is never being called \n\n### 🛠️ To reproduce\n\nhttps://stackblitz.com/edit/nuxt-starter-wozyte?file=pages%2Findex.vue,pages%2Fjs-confetti.vue\n\n### 🌈 Expected behavior\n\nI expect my callback function to be called by `onLoaded`\n\n### ℹ️ Additional context\n\n\r\nI see these warnings from the stripe SDK, maybe this is causing errors that lead to the callback function not being called? ",[3183],{"name":3184,"color":3185},"bug","d73a4a",232,"nuxt","scripts","closed","Stripe script onLoaded function not being called ","2024-09-03T17:13:20Z","https://github.com/nuxt/scripts/issues/232",0.45468307,{"description":3195,"labels":3196,"number":3199,"owner":3187,"repository":3200,"state":3189,"title":3201,"updated_at":3202,"url":3203,"score":3204},"",[3197],{"name":3184,"color":3198},"ff281a",142,"nuxt.com","Prevent file creation of the file system","2022-03-11T11:23:32Z","https://github.com/nuxt/nuxt.com/issues/142",0.68854463,{"description":3206,"labels":3207,"number":3209,"owner":3187,"repository":3200,"state":3189,"title":3210,"updated_at":3211,"url":3212,"score":3213},"We should not do anything when selecting a null file (empty content/public folder case)\n\n\n",[3208],{"name":3184,"color":3198},351,"Crash when no files","2022-04-19T09:51:00Z","https://github.com/nuxt/nuxt.com/issues/351",0.7260178,{"description":3215,"labels":3216,"number":3209,"owner":3187,"repository":3217,"state":3189,"title":3218,"updated_at":3219,"url":3220,"score":3213},"The link to the documentation (https://v0.test-utils.nuxtjs.org/api-reference/setup) leads to a browser-side error page.",[],"test-utils","Link to documentation does not work","2023-12-02T00:23:09Z","https://github.com/nuxt/test-utils/issues/351",{"description":3195,"labels":3222,"number":3224,"owner":3187,"repository":3200,"state":3189,"title":3225,"updated_at":3226,"url":3227,"score":3228},[3223],{"name":3184,"color":3198},179,"Crash on delete of the only file","2023-02-15T12:31:50Z","https://github.com/nuxt/nuxt.com/issues/179",0.72862744,{"description":3230,"labels":3231,"number":3224,"owner":3187,"repository":3188,"state":3189,"title":3233,"updated_at":3234,"url":3235,"score":3228},"### 🐛 The bug\n\n[Example from docs](https://scripts.nuxt.com/scripts/tracking/google-tag-manager#example) does not work \r\n\r\nBecause useRegistryScript doesn't get gtm id from useRuntimeConfig\r\n\r\nhttps://github.com/nuxt/scripts/blob/3c8838558debe268861e33e8a5abba02523aa36e/src/runtime/utils.ts#L35-L37\r\n\r\ndefault key \"google-tag-manager\" but useRuntimeConfig().public.scripts has \"googleTagManager\"\r\nhttps://github.com/nuxt/scripts/blob/3c8838558debe268861e33e8a5abba02523aa36e/src/runtime/registry/google-tag-manager.ts#L18-L18\n\n### 🛠️ To reproduce\n\n^\n\n### 🌈 Expected behavior\n\nexpected that useScriptGoogleTagManager() gets gtm id from config\n\n### ℹ️ Additional context\n\n_No response_",[3232],{"name":3184,"color":3185},"fix: GoogleTagManager default key case missmatch","2024-07-24T04:01:02Z","https://github.com/nuxt/scripts/issues/179",{"description":3195,"labels":3237,"number":3241,"owner":3187,"repository":3200,"state":3189,"title":3242,"updated_at":3243,"url":3244,"score":3245},[3238],{"name":3239,"color":3240},"enhancement","1ad6ff",211,"Prevent history fetch when file is created in draft","2023-02-15T12:31:56Z","https://github.com/nuxt/nuxt.com/issues/211",0.74198544,{"description":3195,"labels":3247,"number":3249,"owner":3187,"repository":3200,"state":3189,"title":3250,"updated_at":3226,"url":3251,"score":3252},[3248],{"name":3184,"color":3198},177,"Avoid creating / renaming file with an existing name (on the current tree)","https://github.com/nuxt/nuxt.com/issues/177",0.7457122,{"description":3195,"labels":3254,"number":3256,"owner":3187,"repository":3200,"state":3189,"title":3257,"updated_at":3258,"url":3259,"score":3260},[3255],{"name":3184,"color":3198},112,"Fix redirect after project import","2023-02-15T12:31:45Z","https://github.com/nuxt/nuxt.com/issues/112",0.7460809,{"description":3195,"labels":3262,"number":3264,"owner":3187,"repository":3200,"state":3189,"title":3265,"updated_at":3266,"url":3267,"score":3268},[3263],{"name":3184,"color":3198},423,"Refresh files after branch create","2023-02-15T12:31:27Z","https://github.com/nuxt/nuxt.com/issues/423",0.7466785,["Reactive",3270],{},["Set"],["ShallowReactive",3273],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fbFAzAn386V0Sg7FGJw_VSORzHo4Y0BmiD5JfNs8Vy2Y":-1},"/nuxt/nuxt.com/232"]