Payabbhi 1.0.1

Payabbhi .NET Library

Install-Package Payabbhi -Version 1.0.1
dotnet add package Payabbhi --version 1.0.1
<PackageReference Include="Payabbhi" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Payabbhi --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Payabbhi .NET Library

Make sure you have signed up for your Payabbhi Account and downloaded the API keys from the Portal.

Requirements

.NET 4.0 and later.

Installation

Install via NuGet

From the command line:

$ nuget install Payabbhi

From Package Manager:

PM> Install-Package Payabbhi

From within Visual Studio:

  1. Open the Solution Explorer.
  2. Right-click on a project within your solution.
  3. Click on Manage NuGet Packages.
  4. Click on the Browse tab and search for Payabbhi.
  5. Click on the Payabbhi package and click Install.

Documentation

Please refer to:

Usage

A typical usage of the Payabbhi .NET Library is shown below:

using Payabbhi;

// Set your credentials
Client client = new Client('<accessId>', '<secretKey>');

// Create an order
Order order = client.Order.Create(
                new Dictionary<string, object>() {
                  {"merchant_order_id", '<merchantOrderId>'},
                  {"amount", 100},
                  {"currency", "INR"},
                  {"payment_auto_capture", false}
                });


For more examples see the .NET API documentation

Verifying payment signature

Payabbhi .NET library provides utility functions for verifying the payment signature received in the payment callback. The snippet below demonstrates a typical usage:

client.Utility.VerifyPaymentSignature(
  new Dictionary<string, string>() {
    {"payment_signature", '<paymentSignature>'},
    {"order_id", '<orderId>'},
    {"payment_id", '<paymentId>'}
  });

Verifying webhook signature

Payabbhi .NET library provides utility functions for verifying the webhook signature. The snippet below demonstrates a typical usage:

client.Utility.VerifyWebhookSignature(payload,actualSignature,secret);

// replayInterval is optional
client.Utility.VerifyWebhookSignature(payload,actualSignature,secret,replayInterval);

Payabbhi .NET Library

Make sure you have signed up for your Payabbhi Account and downloaded the API keys from the Portal.

Requirements

.NET 4.0 and later.

Installation

Install via NuGet

From the command line:

$ nuget install Payabbhi

From Package Manager:

PM> Install-Package Payabbhi

From within Visual Studio:

  1. Open the Solution Explorer.
  2. Right-click on a project within your solution.
  3. Click on Manage NuGet Packages.
  4. Click on the Browse tab and search for Payabbhi.
  5. Click on the Payabbhi package and click Install.

Documentation

Please refer to:

Usage

A typical usage of the Payabbhi .NET Library is shown below:

using Payabbhi;

// Set your credentials
Client client = new Client('<accessId>', '<secretKey>');

// Create an order
Order order = client.Order.Create(
                new Dictionary<string, object>() {
                  {"merchant_order_id", '<merchantOrderId>'},
                  {"amount", 100},
                  {"currency", "INR"},
                  {"payment_auto_capture", false}
                });


For more examples see the .NET API documentation

Verifying payment signature

Payabbhi .NET library provides utility functions for verifying the payment signature received in the payment callback. The snippet below demonstrates a typical usage:

client.Utility.VerifyPaymentSignature(
  new Dictionary<string, string>() {
    {"payment_signature", '<paymentSignature>'},
    {"order_id", '<orderId>'},
    {"payment_id", '<paymentId>'}
  });

Verifying webhook signature

Payabbhi .NET library provides utility functions for verifying the webhook signature. The snippet below demonstrates a typical usage:

client.Utility.VerifyWebhookSignature(payload,actualSignature,secret);

// replayInterval is optional
client.Utility.VerifyWebhookSignature(payload,actualSignature,secret,replayInterval);

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 158 11/16/2018
1.0.0 189 7/31/2018