\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? ",[3145],{"name":3146,"color":3147},"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":3157,"labels":3158,"number":3161,"owner":3149,"repository":3162,"state":3151,"title":3163,"updated_at":3164,"url":3165,"score":3166},"",[3159],{"name":3146,"color":3160},"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":3168,"labels":3169,"number":3171,"owner":3149,"repository":3162,"state":3151,"title":3172,"updated_at":3173,"url":3174,"score":3175},"We should not do anything when selecting a null file (empty content/public folder case)\n\n\n",[3170],{"name":3146,"color":3160},351,"Crash when no files","2022-04-19T09:51:00Z","https://github.com/nuxt/nuxt.com/issues/351",0.7260178,{"description":3177,"labels":3178,"number":3171,"owner":3149,"repository":3179,"state":3151,"title":3180,"updated_at":3181,"url":3182,"score":3175},"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":3157,"labels":3184,"number":3186,"owner":3149,"repository":3162,"state":3151,"title":3187,"updated_at":3188,"url":3189,"score":3190},[3185],{"name":3146,"color":3160},179,"Crash on delete of the only file","2023-02-15T12:31:50Z","https://github.com/nuxt/nuxt.com/issues/179",0.72862744,{"description":3192,"labels":3193,"number":3186,"owner":3149,"repository":3150,"state":3151,"title":3195,"updated_at":3196,"url":3197,"score":3190},"### 🐛 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_",[3194],{"name":3146,"color":3147},"fix: GoogleTagManager default key case missmatch","2024-07-24T04:01:02Z","https://github.com/nuxt/scripts/issues/179",{"description":3157,"labels":3199,"number":3203,"owner":3149,"repository":3162,"state":3151,"title":3204,"updated_at":3205,"url":3206,"score":3207},[3200],{"name":3201,"color":3202},"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":3157,"labels":3209,"number":3211,"owner":3149,"repository":3162,"state":3151,"title":3212,"updated_at":3188,"url":3213,"score":3214},[3210],{"name":3146,"color":3160},177,"Avoid creating / renaming file with an existing name (on the current tree)","https://github.com/nuxt/nuxt.com/issues/177",0.7457122,{"description":3157,"labels":3216,"number":3218,"owner":3149,"repository":3162,"state":3151,"title":3219,"updated_at":3220,"url":3221,"score":3222},[3217],{"name":3146,"color":3160},112,"Fix redirect after project import","2023-02-15T12:31:45Z","https://github.com/nuxt/nuxt.com/issues/112",0.7460809,{"description":3157,"labels":3224,"number":3226,"owner":3149,"repository":3162,"state":3151,"title":3227,"updated_at":3228,"url":3229,"score":3230},[3225],{"name":3146,"color":3160},423,"Refresh files after branch create","2023-02-15T12:31:27Z","https://github.com/nuxt/nuxt.com/issues/423",0.7466785,["Reactive",3232],{},["Set"],["ShallowReactive",3235],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fbFAzAn386V0Sg7FGJw_VSORzHo4Y0BmiD5JfNs8Vy2Y":-1},"/nuxt/nuxt.com/232"]