Configuration of Surcharge logic

Step 2: Surcharge configuration on Juspay Dashboard

Step 2.1: Configure Surcharge logic on Juspay Dashboard

  • Login to Juspay Dashboard > Navigate to Payments > PG Control Centre > Select Surcharge > Click on Create New Rule

  • Enter a suitable description under Rule Description > Select the type of Surcharge logic configuration under Configuration Type > Click on Next

  • Surcharge Configuration can be of,

    • Rule based

    • Code based

  • Either Rule based or Code based can be selected to configure the Surcharge logic.

  • Rule Based UI:

    • Create a logic/rule by selecting the available options to surcharge on the transactions

    • Logic to be created with the below parameters

      1. Select the field “Select Field” which you would to create the rule

      2. Select the Operator “Select Operator” on any of the below to apply the condition

      3. Choose the specific value of the “Select Field” to imply the Surcharge

      4. Enter the Flat Fee, Surcharge Rate, Tax Rate, CGST charge, SGST charge

      5. Once the above logics are created, create a Default logic with which the Surcharge will be applied for the other payment method

    • Proceed with “Send for Approval” and status will move to “Pending”

    • Juspay team will review the created logic and approve the logic

    • Once the logic is approved, Surcharge can be activated with the button “Activate

    Rule Based Logic Configuration
  • Code Based UI:

    • Required Surcharge logic can be written and upload using script to surcharge on the transactions

    • Upload the written logic on the space provided. Please refer to some sample logicslink icon for more clarity.

    • Proceed with “Send for Approval” and status will move to “Pending”

    • Juspay team will review the created logic and approve the logic

    • Once the logic is approved, Surcharge can be activated with the button “Activate

    Code Based Logic Configuration

Step 2.2: Enable the Surcharge flags on Juspay dashboard

  • Login to Juspay dashboard > Payments > Settings > Toggle on the below flags

    Flag Enablement
    Flag Enablement
  • Enable Surcharge

  • Razorpay Surcharge Breakup(If you are using Surcharge via Razorpay gateway)

  • PayU Surcharge Breakup (If you are using Surcharge via PayU gateway)

  • Include Surcharge Amount in Refund Enable this flag in case you want to process full refunds, including the Surcharge amount, if applicable. Refer herelink icon for more details.

Show Surcharge Breakup Screen(Optional)

  • Enable this flag if you want to show the Juspay surcharge breakup screen which contains Surcharge calculation before proceeding to the transaction processing

Order Breakup Screen
Order Breakup Screen

Step 2.3: Steps to Enable Customer Fee Bearing Surcharge

  • Log in to the Juspay Dashboard.

  • Navigate to: Payments > PG Control > [Select Gateway] (e.g., BillDesk).

  • Click on the Advanced Features tab.

  • Locate the option labeled Customer Fee Bearing Surcharge.

  • Click on the Edit Advanced Features button in the top-right corner.

  • Toggle the Customer Fee Bearing Surcharge setting to true

  • Click Proceed to apply and save the changes.

    Enabling Customer Fee Bearing Surcharge
Note
  • Only if the Surcharge logic is approved, Surcharge logic can be activated.

  • Only if the Surcharge logic is activated, Surcharge flags will be visible on “General Settings” to enable.

Last updated 16 days ago