I've downloaded the php script for test payment and added my MERCHANT_KEY and SALT.
Downloaded this script: https://github.com/payumoney-india/PayUMoney_PHP_Module/archive/master.zip
After submitting the form it redirects to the payumoney website but after sometime it redirects to localhost instead of the payment page.
I'm stuck on this. Could you please help me?
After submitting form: https://screenshots.firefox.com/XV6RJC3C70xpGIch/null
After sometime it redirects to: https://screenshots.firefox.com/ZBLNLGav3Choptky/null
Its basically because you're on the testing URL. You have to change the URL to production or live. For testing purpose payu gives you this test url. If you see the comment on PayUMoney_form.php
// **End point - change to https://secure.payu.in for LIVE mode**
$PAYU_BASE_URL = "https://test.payu.in";
Read the comment. I also got the same issue and got to know that it is staging test.
Please use secure.payu.in url which is mentioned in the comment. Then provide your merchat details inside the script and it works .
The salt and key they provided for the test account is not correct , use these salt and key for test account
here are the salt and key just copy and paste these:
$SALT = 'e5iIg1jwi8';
$key = 'rjQUPktU';
$PAYU_BASE_URL = "https://test.payu.in";