Dot Net

Learn how to integrate and use .NET SDK with Pine Labs Plural APIs.

This SDK provides an easy-to-use API for integrating Pine Labs services into your .NET applications. It offers convenient methods for accepting and fetching orders, calculating EMIs, and verifying hashes.

Watch this video to learn how to integrate and use .NET SDK with Pine Labs Plural APIs.

📘

Download the Sampleapp

You can download the Sampleapp from the GitHub Link: https://github.com/pluralonline/plural-dotnet-sdk-sampleapp.

Installation

Follow these below steps to install and integrate the Pine Labs SDKs into your project:

Step 1: Download the Pine Labs SDK and extract the content to a folder on your system.

Step 2: Open an existing project or set up a new project in your system.

Step 3: Add SDKs reference:

  • Navigate to the extracted SDK folder: SDK\bin\Debug\net7.0\PineLabsSdk.dll.
  • Add a reference to this DLL file in your project.

Step 4: Update the project File:

  • Open your .csproj file in a text editor.
  • Add the following reference configuration:
<ItemGroup>
    <Reference Include="PineLabsSdk">
        <HintPath>SDK\bin\Debug\net7.0\PineLabsSdk.dll</HintPath>
    </Reference>
</ItemGroup>
  • The SDK is now integrated into your project and ready for use.

Implementation

Handle Payments

To know the status of the payment you can use the below options.

  1. Inquiry API: Use this API to check transaction statuses.
  2. Webhook Notification: We send Webhook notifications on the successful payment or any changes to the payment's response object.