mounika Right now I am out of bandwidth for that.
I would suggest you to use Paytm gateway as we are using redirection method for Paytm payment processing. That means, the order is placed as soon as user clicks on the Pay with Paytm button on the Foodomaa checkout page. (The order is placed with Awaiting Payment status - which is also visible to Admin)
And then the customer is redirection automatically to Paytm page where they needs to complete the payment. After the payment is completed, they are redirected back to their order tracking page (and the order status is changed from Awaiting Payment to Order Placed Successfully)
One more thing:
In any payment in the world if your customer clicks on back button or refresh button, the flow is interrupted and the payment verification or order Verification cannot be made.
I have seen cases where the customer will deny on your face with confidence that they never clicked on Back Button or Refresh button on any page, where in fact it's the opposite.
So this is a bit of a operation issue for any ecommerce business taking online orders and processing payments online.