I have implemented stripe payments in my app using stripe elements, and it works very well on web and android, as well as on ios - the first time around.
If I then close my app by double tapping the home button and swipe up, then re-open it and navigate to the payment screen, the area where card details need to be entered (i.e. stripe elements) remains blank.
After a long debugging session I think I’ve found the problem and it seems to be that on subsequent app starts the, currently, js.stripe.com/v3
script seems to be attempted to be loaded from cache, even though I have checked “Disable caches” in the safari inspector (running on emulator). For whatever reason that fails, giving either an empty response or just loading forever.
Is it possible to tell the webview on ios to stop caching this response? I would even consider disabling caching for all responses at this point honestly, if that would solve this problem.
Thanks!