title: json.success redirect to thank you page
body: <p>I have this code in one of my PHP templates.</p>
  
  <pre><code>// IF successful hide the form and show thanks
  
  if (json.success) {
      $('#payment-form').hide();
      $('#thank-you').show();
  }
  </code></pre>
  
  <p>If I would like to redirect to <code>thank-you.php</code> instead of showing #thank-you is it possible with this code or do I have to do something else?</p>