DirecPay Payment Gateway: A Guide to PayUmoney Payment Gateway Integration in PHP Websites
Many SME newbies and experienced developers are curious: "How to integrate PayUmoney into a PHP website?" , "What is the integration process of PayUmoney?" And so on. So, here's a shout out to all developers and online merchants as we bring you the PayU Payment Gateway Integration Guide. In this guide series, we are going to answer all your queries regarding PayUmoney payment gateway integration in different types of websites and plugins. Now, let's launch the first pocket guide of the integration series: PayUmoney payment gateway integration in PHP websites.
3 Steps to PayUmoney Payment Gateway Integration in PHP:
A. Installation kits
B. Configuration kits
C. Testing and going live
You can check out our "How to Integrate PayUmoney Payment Gateway in PHP Website" video for a step-by-step guide:
Steps for PayUmoney Payment Gateway Integration in PHP
Let's take a closer look at these three simple steps.
A. How to Install PayUmoney Checkout Suite in PHP
Go to the PayUmoney Developer Guide and click on the Site Integration section
Click to download PHP Suite
PayUmoney Developer's Guide (updated version)
Unzip the downloaded zip file, which contains two files: index.php and response.php. Deploy these files to your server!
B. How to Configure PayUmoney Checkout in PHP
Open index.php file
Update the values of PayUmoney Test Merchant Key and Salt (you can find these values in the "Integration Details" section of the Merchant Console. Note: copy and paste these credentials)
PayUmoney Merchant Test Key and Salt Credentials
Set PayUmoney merchant key and salt in index.php
For test integration, use the following URL: https://sboxcheckout-static.citruspay.com/bolt/run/bolt.min.js
PayUmoney Test Integration Code
C. How to test PHP integration and go live
In the test environment, the
Run the index.php file on your local server and enter the information in the required fields
Click on "Payment" (you can pay using the test card information mentioned under "Integration Details")
PayUmoney Tests Payment Credentials
After successful payment, you will see a response page
To go live in the production environment.
Change the test URL (JS URL) to: https://checkout-static.citruspay.com/bolt/run/bolt.min.js
Replace the test merchant key and salt with go-live credentials
PayUmoney Merchant Key and Salt (online)
Now customise the pre-checkout and post-checkout pages to your liking.
PayUmoney Payment Gateway integration with PHP is as simple as that! Now you are ready to go live. However, if you have any questions, please feel free to contact PayUmoney. in addition, it is always recommended to test the payment gateway before actually integrating it and going live. Learn more about PayUmoney's testing mode for a more accurate and smooth payment checkout experience.
If you haven't integrated your website with PayUmoney yet, it's a great idea to have an all-in-one payment solution. Enjoy the best payment gateway experience now and grow your business with ease!
Recommended Reading
How to Use PayU Payment Add-in for MS Excel
Prepare the payment gateway for GST