\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? ",[2948],{"name":2898,"color":2910},"Stripe script onLoaded function not being called ","2024-09-03T17:13:20Z","https://github.com/nuxt/scripts/issues/232",{"description":2953,"labels":2954,"number":2956,"owner":2877,"repository":2901,"state":2889,"title":2957,"updated_at":2958,"url":2959,"score":2960},"1. From the main empty branch (without file), create a new file \n2. Commit this file on a new branch\n3. Come back to main empty branch\n \n\n",[2955],{"name":2898,"color":2899},565,"Error occurs when jumping to an empty branch (without files)","2023-02-15T12:31:30Z","https://github.com/nuxt/nuxt.com/issues/565",0.73369837,["Reactive",2962],{},["Set"],["ShallowReactive",2965],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fZSFrPZHCrgJWI34QovheWudcvc6ZQNYoUtMNu4iHdjM":-1},"/nuxt/nuxt.com/351"]