#imaliveagain_code

1 messages ¡ Page 1 of 1 (latest)

uneven haloBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1371632201938108427

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

crystal nebula
#

hello! taking a look at this now

#

where did you find those script tags? i also haven't tried loading them via a direct tag in the header before

#

let me try it out in my own integration real quick - in my own integration it looks like it's appending this script tag:
<script src="https://connect-js.stripe.com/v1.0/connect.js"></script>

#

which looks different than both of the ones you shared

sharp maple
#

Let me try that quick.

crystal nebula
#

i just tried and it's also not working for me... but yeah feel free to give it a shot

#

just so i understand your situation, why is it that you're not able to import @stripe/connect-js?

sharp maple
#

I'm working with a visualforce page. Lightning web components won't allow the dynamic import of external libraries. I was trying to make it easier for testing inside of salesforce but its turning out to be more work so I'll just create the page outside salesforce and keep moving.

crystal nebula
#

oooo gotcha

#

yeah, i was digging into this and it looks like it's actually loadConnectAndInitialize that adds the script tag, which is why it's not loading

sharp maple
#

ah ok well thanks for looking though.

crystal nebula
#

yep of course!