title: how to post back php form to another page after payment success through razorpay using javascript
body: <p>Form post back to action="post_order.php" and then it redirects to orderlist.php with id</p>
  
  <pre><code>var options = {
  "key":"rzp_test_0uREUyTRES2si4",
  "amount": finalamnt,
  "name": "demo_name",
  "description": "Purchase Description",
  "image": "images/logo.png",
  "handler": function (response){
      alert("Payment Successfully Done..Order will be placed soon");
      document.getElementById('form_ordernow').submit();
      location.href = "http://www.demo.com/homepage/orderlist.php?id=";
      //document.getElementById("form_ordernow").action = "post_order.php";
      //document.getElementById("form_ordernow").submit();
  }
  };
  </code></pre>