#xlex - CORS
1 messages ยท Page 1 of 1 (latest)
Hmmm.... I cannot say I have seen anything like this. Are you trying to load your own font inside the payment element iFrame?
Yes, passing the font into <Elements options={{fonts: }}>
^^ using the React controls
Hmmm I don't think we are going to support the injecting of anything not controlled by Stripe into the iFrame.
The docs seem to indicate it's ok: https://stripe.com/docs/js/appendix/custom_font_source_object
Maybe I misread?
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
You can see live if that's of any interest - https://demo.tickit.ca/ and add anything to your cart. The PaymentElement form is on the next page
Hmmm... I'm not seeing anything about this as a ticket already. I will create a request to look into this.
I appreciate it. Is there any way for me to track the status?
Unfortunately that would be internal only ๐
๐ any suggestions in the meantime? I'd love to get my fonts looking consistent
Well I'm wondering if downloading the .woff2 file and serving it yourself as a static resource might fix the issue
I'll give it a shot.