React-stripe-elements: Iframe send request to https://m.stripe.com/

Created on 8 Oct 2018  Â·  5Comments  Â·  Source: stripe/react-stripe-elements

Hello there,

Stripe iframes send requests to https://m.stripe.com/ even ifStripeProvider` is unmounted.

Here is a request :
screenshot from 2018-10-08 17-37-19

I have one request like that each time I nativgate to another page of my project.

Step to reproduce

  1. I navigate to a page that mount StripeProvider. It add two iframes at the end of the DOM
  2. Then I go to another page on my project that does not mount StripeProvider. The iframes are still there and requests to https://m.stripe.com/ also still cotinue

What are these requests used for ?
How could I prevent them ?

Thanks :)

All 5 comments

Hi @Thebarda! This is a behavior controlled by the closed-source Stripe.js library itself rather than this open source react-stripe-elements library. I would suggest contacting Stripe Support.

Thank you @asolove-stripe for your quick answer

Thank you.

On Tue, Oct 9, 2018 at 12:08 AM Tom Darneix notifications@github.com
wrote:

Thank you @asolove-stripe https://github.com/asolove-stripe for your
quick answer

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stripe/react-stripe-elements/issues/257#issuecomment-427891670,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkgknfNHHDF4YoZ1QAPFR0xs5lfVtbVcks5ui3hSgaJpZM4XNM8k
.

This is closed but the issue is still present even a year later. Since this error leaks to the current open-source library and since the community is not allowed to help with it (since it can't contribute to closed-source code), is there a chance that we can get an update on that?

so do I, it is still working. let me know how can I prevent it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sonarforte picture sonarforte  Â·  4Comments

rstone770 picture rstone770  Â·  5Comments

iMerica picture iMerica  Â·  5Comments

shortcircuit3 picture shortcircuit3  Â·  5Comments

sciku1 picture sciku1  Â·  4Comments