\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? ",[2949],{"name":2888,"color":2910},"Stripe script onLoaded function not being called ","2024-09-03T17:13:20Z","https://github.com/nuxt/scripts/issues/232",{"description":2954,"labels":2955,"number":2957,"owner":2877,"repository":2891,"state":2892,"title":2958,"updated_at":2959,"url":2960,"score":2961},"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",[2956],{"name":2888,"color":2889},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",2963],{},["Set"],["ShallowReactive",2966],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fpOZvyB9qmIZ_ztffY2nb-7rUIbLxE4LppHYbLON7KAM":-1},"/nuxt/test-utils/351"]