PayU plugins – PayU Blog https://payu.in/blog Wed, 25 May 2022 04:08:48 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.3 https://payu.in/blog/wp-content/uploads/2020/05/favicon_index-1.png PayU plugins – PayU Blog https://payu.in/blog 32 32 Introducing PayU Webhooks – Get Callbacks To Your Server https://payu.in/blog/introducing-payumoney-webhooks-get-callbacks-to-your-server/ https://payu.in/blog/introducing-payumoney-webhooks-get-callbacks-to-your-server/#respond Mon, 19 Jan 2015 01:08:33 +0000 http://blog.payumoney.com/?p=146 We have been receiving requests from many of our merchants to provide a way to update their systems whenever a payment happen. We listened to the feedback and have launched...

The post Introducing PayU Webhooks – Get Callbacks To Your Server appeared first on PayU Blog.

]]>
We have been receiving requests from many of our merchants to provide a way to update their systems whenever a payment happen. We listened to the feedback and have launched webhook feature for the same.

What is a webhook?
Webhook is a HTTP callback. The callback is done to a url specified while creating a webhook.
The webhook callbacks are event driven i.e. a callback to a webhook will be done whenever the event associated with the webhook occurs.

Example –
Successful Payment Webhook – The event associated with this webhook is Successful Payment. So whenever a successful payment happens, a callback to the webhook URL will be done.

How does the PayU webhook work?
PayU will be sending the callback messages as HTTP POST requests to the URL specified.
Currently, we are providing 2 types of webhook events –

  1. When a payment is successful
  2. When a payment is failed

So whenever a payment is successful/fails for your merchant account, you can receive a callback to your server. In the callback message, all the payment details are shared, so you can update your server and process the order as per your business processes.

The callback request format can be viewed here – here.

How do I create a webhook?

how to create a PayU webhook

    1. To create a webhook, you will need to create a URL at your server which will be able to receive the callback message that will be sent.
    2. Once you have created the url, you can go to your PayU merchant account -> Settings -> My Account ->Webhook

webhook-1

    1. Click on Create New Webhook button
    2. Select the event type for which you want webhook to be added

webhook-2

  1. Enter webhook URL (that you have created in 1). Note that you can’t create a webhook with a url that is not working (receiving callback request)
  2. Optionally, You can also provide a static authorization header & key so that your server identified that the callback message is sent from PayU server
  3. Submit

Upon submission, PayU server will send a dummy callback message to confirm whether the url provided is able to receive POST requests or not.

If your URL isn’t accepting the dummy request sent, then you will be allowed to create that webhook.

If your url is able to receive the request and provides a http response code 200 OK, then the webhook will be successfully created.
webhook-3

Once your webhook is created then from the next time whenever the webhook event will occur, a callback to your webhook url will be sent.

The post Introducing PayU Webhooks – Get Callbacks To Your Server appeared first on PayU Blog.

]]>
https://payu.in/blog/introducing-payumoney-webhooks-get-callbacks-to-your-server/feed/ 0
Introducing ‘Pay by PayU button’ – the fastest way to collect payments https://payu.in/blog/introducing-pay-by-payumoney-button-the-fastest-way-to-collect-payments/ https://payu.in/blog/introducing-pay-by-payumoney-button-the-fastest-way-to-collect-payments/#respond Thu, 20 Nov 2014 23:57:59 +0000 http://blog.payumoney.com/?p=114 Now collect payments just by embedding a button into your website or blog. Yes, you read it right. You can collect payments just with a button. When a user clicks...

The post Introducing ‘Pay by PayU button’ – the fastest way to collect payments appeared first on PayU Blog.

]]>
Now collect payments just by embedding a button into your website or blog. Yes, you read it right.

You can collect payments just with a button. When a user clicks on this button, he is taken to a page where he is required to enter his details. After entering the details user clicks on submit and makes payment. It is that easy.
The button is web and mobile-optimized with responsive design. There is no additional paperwork and you can go live in a day. The button can be customized as per the need and you can change the look and feel of the button. You can also create custom fields to collect additional customer details.

Here is how you can create a PayU button and add it to your website.

Step 1: Log in to PayU and in the merchant dashboard go to PayU tools. Click on the PayU button and inside that click on ‘create new button’

step1
PayU tools tab

Step 2: Specify the amount and customize the look and feel of the button.

step2
Button customization

Step 3: Embed the button by copying the code into your website and start collecting payments.

step3
Embed button link

For more information visit: https://www.payumoney.com/payumoneybutton.html and for any queries email us at marketing@payu.in

The post Introducing ‘Pay by PayU button’ – the fastest way to collect payments appeared first on PayU Blog.

]]>
https://payu.in/blog/introducing-pay-by-payumoney-button-the-fastest-way-to-collect-payments/feed/ 0