Integrate PayUmoney Payment Gateway in PHP with Mysql

In this article, I am going to explain “How to Integrate PayUmoney Payment Gateway” in PHP with database. PayUmoney is one of the best and user friendly online payment gateway from India. It is very easy to integrate in web applications and App. Also you can send Payment link for a perticular amount through PayUmoney payment button.

PayUmoney comes with all modern payment option like debit card, credit card, net banking, UPI, EMI option etc. Newbies are always curious to know “how to integrate PayUmoney with PHP website?”, “what is the PayUmoney integration process?”

In this article , we will clear out all your doubts regarding integrating PayUmoney payment gateway in different types of websites, Apps and plugins, you just need to follow very easy steps to integrate it into you web application.

Step 2. At the time of signup, you need to use your valid email address. As you are creating test account, you can enter whatever details for the testing purpose.

Once you’re done with your test merchant account live, you will get your Merchant Id, Merchant Key, and Merchant Salt to use in your code in config.php file.

Read Also: How To Integrate PayKun Payment Gateway In Laravel

Below is the complete code to integrate PayUMoney payment gateway:

Now create config.php file and copy below code and paste.

PayUmoney Merchant Test Key & Test Salt Credentials change in config.php file

Step 3) Create request.php file and copy below code and paste it.

 

Read Also: How to Integrate Stripe Payment Gateway in Laravel

Step 4) Create index.php file and copy below code and paste on it

 

Read Also: Paytm Payment Gateway Integration in Laravel

Step 5) Create a file named response.php and copy below code and paste it.

 

Read Also: Integrate CCAvenue Payment Gateway in PHP

Test Card details for PayUMoney Payment Gateway

(Visa) Card Name: Test
Card Number: 4012001037141112
Expiry Date : 05/20
CVV : 123

(Master) Card Name: Test
Card Number: 5123456789012346
Expiry Date : 05/20
CVV : 123

Github link: Download from Github

1 thought on “Integrate PayUmoney Payment Gateway in PHP with Mysql”

Leave a Comment