\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? ",[2922],{"name":2923,"color":2924},"bug","d73a4a",232,"scripts","closed","Stripe script onLoaded function not being called ","2024-09-03T17:13:20Z","https://github.com/nuxt/scripts/issues/232",0.45468307,{"description":2933,"labels":2934,"number":2937,"owner":2912,"repository":2938,"state":2927,"title":2939,"updated_at":2940,"url":2941,"score":2942},"",[2935],{"name":2923,"color":2936},"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.6885446,{"description":2944,"labels":2945,"number":2947,"owner":2912,"repository":2938,"state":2927,"title":2948,"updated_at":2949,"url":2950,"score":2951},"We should not do anything when selecting a null file (empty content/public folder case)\n\n\n",[2946],{"name":2923,"color":2936},351,"Crash when no files","2022-04-19T09:51:00Z","https://github.com/nuxt/nuxt.com/issues/351",0.7260178,{"description":2953,"labels":2954,"number":2947,"owner":2912,"repository":2955,"state":2927,"title":2956,"updated_at":2957,"url":2958,"score":2951},"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":2933,"labels":2960,"number":2962,"owner":2912,"repository":2938,"state":2927,"title":2963,"updated_at":2964,"url":2965,"score":2966},[2961],{"name":2923,"color":2936},179,"Crash on delete of the only file","2023-02-15T12:31:50Z","https://github.com/nuxt/nuxt.com/issues/179",0.72862744,{"description":2968,"labels":2969,"number":2962,"owner":2912,"repository":2926,"state":2927,"title":2971,"updated_at":2972,"url":2973,"score":2966},"### 🐛 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_",[2970],{"name":2923,"color":2924},"fix: GoogleTagManager default key case missmatch","2024-07-24T04:01:02Z","https://github.com/nuxt/scripts/issues/179",{"description":2933,"labels":2975,"number":2978,"owner":2912,"repository":2938,"state":2927,"title":2979,"updated_at":2980,"url":2981,"score":2982},[2976],{"name":2903,"color":2977},"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":2933,"labels":2984,"number":2986,"owner":2912,"repository":2938,"state":2927,"title":2987,"updated_at":2964,"url":2988,"score":2989},[2985],{"name":2923,"color":2936},177,"Avoid creating / renaming file with an existing name (on the current tree)","https://github.com/nuxt/nuxt.com/issues/177",0.7457122,{"description":2933,"labels":2991,"number":2993,"owner":2912,"repository":2938,"state":2927,"title":2994,"updated_at":2995,"url":2996,"score":2997},[2992],{"name":2923,"color":2936},112,"Fix redirect after project import","2023-02-15T12:31:45Z","https://github.com/nuxt/nuxt.com/issues/112",0.7460809,["Reactive",2999],{},["Set"],["ShallowReactive",3002],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fbFAzAn386V0Sg7FGJw_VSORzHo4Y0BmiD5JfNs8Vy2Y":-1},"/nuxt/nuxt.com/232"]