title: Why the code is not being read async function after axios post to the backend
body: <p>I'm trying to get back a promise response back with async-await and I'm using cors but the problem is that is not reading that part of the code right after axios.post. I throw some console.log for a test but I'm not seeing anything like that code does not exist</p>
  
  <pre><code>const handlerToken =  async (token, total2) =&gt; {
  
    total2 = total
    console.log(total2)
    // console.log('Hello world' + response.data)
    // console.log({token, total2})
    const response = await axios.post("/api/stripe", {
      token,
      total2
    })
    console.log('Hello world' + response.data)
    console.log('Hello world again')
    console.log('This is the data ' + response.data);
    const { status } = response.data
    if (status === 'success') {
      toast('Success! Check Email for details', {type: 'success'});
    } else {
      toast('Something went wrong', {type: 'error'});
    }
  };
  </code></pre>
  
  <p>This the other part</p>
  
  <pre><code>&lt;StripeCheckout
    amount={total * 100}
    label="Credit Card"
    name="Boston Maids"
    email=""
    token={handlerToken}
    //token={ (token) =&gt;{axios.post('/api/stripe', token)}}
  
    stripeKey={"pk_test_yBMj0cqYIXUsXeJ0lnVBil1T"}
  /&gt;
  </code></pre>