title: Stripe client secret not working on mobile
body: <p>Im working on an ecommerce website that has stripe i get the client secret like this</p>
  <pre><code>const getClientSecret = async () =&gt; {
          const response = await axios({
              method: 'post',
              // Stripe expects the total in a currencies subunits
              url: `/payments/create?total=${getBasketTotal(basket) * 100}`
          });
          setClientSecret(response.data.clientSecret)
      }
  
      getClientSecret();
  }, [basket])
  </code></pre>
  <p>the basket should be selfexplanatory but the thing is it works fine on desktop (on my laptop) but when i connect to my localhost from my phone i cant purchase it because it doesnt have a client secret the error is</p>
  <p><a href="https://i.stack.imgur.com/gioKn.jpg" rel="nofollow noreferrer">click here to see image</a></p>
  <p>Im slowly going insane bit by bit and soon Im gonna develop anxiety because of this bug i got this bug 1 month ago so send help.</p>