\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? ",[2060],{"name":2017,"color":2037},"Stripe script onLoaded function not being called ","2024-09-03T17:13:20Z","https://github.com/nuxt/scripts/issues/232",{"description":2005,"labels":2065,"number":2066,"owner":1988,"repository":2008,"state":2009,"title":2067,"updated_at":2068,"url":2069,"score":2070},[],146,"Support draft system and merge with tree","2022-03-11T16:20:18Z","https://github.com/nuxt/nuxt.com/issues/146",0.7502004,["Reactive",2072],{},["Set"],["ShallowReactive",2075],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"hsBlU9HE7x_SsMacJEPNGwaqis_ns4Lc5h1r8uOlq_8":-1},"/nuxt/nuxt.com/177"]