title: Paytm Payment Successful Redirect Issue-PHP
body: <p>In my site, I have an issue in the payment redirect URL. I'm using <strong>PHP</strong> as backend and <strong>AngularJS</strong> as front end. I'm using the app <strong>Paytm</strong> for payment.</p>
  
  <p>When I click on <strong>Place Order</strong> button, I redirect to payment gateway page. After successful payment, the URL of site does not go to the Success page, instead, it redirects to Empty Cart Page. I want to display my order details after successful transaction and not redirect to an empty cart page. </p>
  
  <p>How can I display my Order details?</p>
  
  <pre><code>define('PAYTM_ENVIRONMENT', 'TEST'); // PROD
  define('PAYTM_MERCHANT_KEY', 'tN22ez5q2MCg5KzE3'); 
  define('PAYTM_MERCHANT_MID', 'xxx57900025939441'); 
  define('PAYTM_MERCHANT_WEBSITE', 'abcde');
  define('CALLBACK_URL','http://sample.in/sample/Testdata/app/PaytmKit/pgResponse.php');
  </code></pre>