Razorpay integration redirect URL not working

After completing the payment, the user is redirected to {Sitedomain}/integration/orders
for which the it gives the error that the page is missing or has been moved.
I have setup the redirect url to {sitedomain}/me in the Razorpay settings.
But instead of redirecting there, the user is redirected to orders page.

Is it hard coded, if so where to change it. If not then something is definitely not working.

Would you mind creating a github issue for the issue.

Created the issue.