'sorry some error occurred' while integrating PayUMoney payment gateway in Test mode

This is confusing for the first timers. Supplied default key and salt will not work straight away.

In order to test the gateway using a test key and salt, kindly follow these steps:

  1. Go on test.payumoney.com
  2. Sign up as a merchant - use any of your valid email ids - kindly do not use a random email id.
  3. Complete the "Business Details" - you may use PAN no. ABCDE1234F and DOB - 01/04/1990
  4. Complete "Bank Account Details" (You may use IFSC- ALLA0212632)
  5. You dont have to worry about Bank verification step or any other step after that.
  6. Go to below mentioned location to get the Test Merchant Id : Seller Dashboard -> Settings -> My account -> Profile Settings

  7. After that send your test merchant id to technical team using contact us form and they will approve.

  8. Once approved you can find your test key and salt at : Seller Dashboard -> Settings -> My account -> Merchant Key - Salt.
  9. Replace default key and salt with newly generated test key and salt. After this you should not see error, Sorry, Some Problem Occurred.

I hope this helps.


The Key and salt provided by payumoney is invalid use the following for testing:

// Merchant key here as provided by Payu
$MERCHANT_KEY = "gtKFFx";

// Merchant Salt as provided by Payu
$SALT = "eCwWELxi";

And make sure to leave service provider field blank.


There is a field "Service Provider"in the form (param name is - service_provider). The value of this field should be 'payu_paisa'. If you fill anything else in this field in the form, you will get an error.