• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

  • Important: Any reported problems and issues with your integration will be reported to you and we will encourage the app developers help to resolve those integration issues.

How we built Razorpay (Basic auth based Integration)

App Name - Razorpay
API Docs - https://razorpay.com/docs/api/

Authentication Method - Basic Auth

You can follow these steps to build the app integration with a similar auth type.

1. App Details and Auth Configuration.

1663842122992.png


Basic Auth lets you connect APIs that authenticate users with a username and password.

Username Label - Specify your Username field label name e.g API Key. By default, it is a Username.
Password Label - Enter your Password field label name here e.g API Secret Key. By default, it is Password.

Basic authentication is an HTTP-based authentication approach and is the simplest way to secure REST APIs. It uses a Base64 format to encode usernames and passwords, both of which are stored in the HTTP header


👉 We followed the Razorpay API docs for selecting the Auth type as Basic auth.

1663841818177.png





2. Configure Triggers

Trigger - Invoice Paid
Type - Trigger setup by Instruction.


image (17).png


Trigger Frontend View:

1663844986970.png



3. Configure Action

Action - Create Order

Action Event API Configuration with JSON Request Body Type -
  • HTTP request method - POST
  • API Endpoint URL - https://api.razorpay.com/v1/orders
  • Request Body Type - Specify a request body type to request this action event. By default, it is JSON.
  • Wrap in Array - Specify if your request raw JSON needs to be wrapped in an array or not.
  • Set Body/Query Parameters - Set parameters if this action event requires to pass the query/URL parameters or map in request raw JSON e.g. amount, currency.
  • Request Body (Raw JSON) - Select this if this action event requires to pass the raw JSON data. If used in endpoints then, all variables in it defined under Set parameters option should have the required option opted. (Some API accepts blank values for JSON keys).

1663846118365.png



👉 We have set the Payment Capture "Yes" or "No" by the Static Dropdown method.


image 4.png



Action Frontend View:


1663847313047.png


👉 For more details follow this guide for creating new actions and triggers in your apps - https://forum.pabbly.com/forums/pabbly-connect-app-integration-guide/

👉 Refer to the below video for creating your app with a similar auth type:


 

Attachments

  • 1663844561473.png
    1663844561473.png
    29.6 KB · Views: 154
  • unnamed (9).png
    unnamed (9).png
    68.2 KB · Views: 135
  • image (6) (1).png
    image (6) (1).png
    184.6 KB · Views: 149
  • image 4.png
    image 4.png
    163.1 KB · Views: 153
Last edited by a moderator:
Top