\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? ",[2933],{"name":2890,"color":2901},"Stripe script onLoaded function not being called ","2024-09-03T17:13:20Z","https://github.com/nuxt/scripts/issues/232",{"description":2877,"labels":2938,"number":2939,"owner":2869,"repository":2880,"state":2881,"title":2940,"updated_at":2941,"url":2942,"score":2943},[],146,"Support draft system and merge with tree","2022-03-11T16:20:18Z","https://github.com/nuxt/nuxt.com/issues/146",0.75084704,{"description":2877,"labels":2945,"number":2939,"owner":2869,"repository":2902,"state":2881,"title":2946,"updated_at":2947,"url":2948,"score":2943},[],"https://github.com/nuxt/scripts/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen+label%3Apre-announce++label%3Abug","2024-07-13T08:17:16Z","https://github.com/nuxt/scripts/issues/146",["Reactive",2950],{},["Set"],["ShallowReactive",2953],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fhsBlU9HE7x_SsMacJEPNGwaqis_ns4Lc5h1r8uOlq_8":-1},"/nuxt/nuxt.com/177"]