#xlex - CORS

1 messages ยท Page 1 of 1 (latest)

vague salmon
#

Hmmm.... I cannot say I have seen anything like this. Are you trying to load your own font inside the payment element iFrame?

winged sluice
#

Yes, passing the font into <Elements options={{fonts: }}>

#

^^ using the React controls

vague salmon
#

Hmmm I don't think we are going to support the injecting of anything not controlled by Stripe into the iFrame.

winged sluice
#

Maybe I misread?

vague salmon
#

Oh, okay I should have looked closer at your code. Yeah, that's an approved path.

#

Based on the inconsistency it appears this has to do with how each browser configures the request. Let me look to see if anyone has reported this as an issue

winged sluice
vague salmon
#

Hmmm... I'm not seeing anything about this as a ticket already. I will create a request to look into this.

winged sluice
#

I appreciate it. Is there any way for me to track the status?

vague salmon
#

Unfortunately that would be internal only ๐Ÿ™

winged sluice
#

๐Ÿ˜• any suggestions in the meantime? I'd love to get my fonts looking consistent

vague salmon
#

Well I'm wondering if downloading the .woff2 file and serving it yourself as a static resource might fix the issue

winged sluice
#

I'll give it a shot.