PayTabs SDK makes the integration with the PayTabs payment gateway very easy by providing a ready-made payment screen that handles the card entry, and billing & shipping information and completes the missing details.


In this article you will be going to know about:


How to install the SDK?


You can install this SDK into your project as clarified below: 


For the version number, please use the latest version according to our latest update on our repository


Xamarin PayTabs binding library is a wrapper for the native PayTabs Android and iOS SDKs, It helps you integrate your Xamarin project with PayTabs. To install the PayTabs SDK into your project, We created a binding for each platform (iOS & Android):


iOS:


Install-Package Paytabs.Xamarin.Ios -Version 1.1.0


.NET CLI

dotnet add package Paytabs.Xamarin.Ios --version 1.1.0

Package Manager

NuGet\Install-Package Paytabs.Xamarin.Ios -Version 1.1.0

PackageReference

<PackageReference Include="Paytabs.Xamarin.Ios" Version="1.1.0" />

Paket CLI

paket add Paytabs.Xamarin.Ios --version 1.1.0

Script & Interactive

#r "nuget: Paytabs.Xamarin.Ios, 1.1.0"

Cake

// Install Paytabs.Xamarin.Ios as a Cake Addin
#addin nuget:?package=Paytabs.Xamarin.Ios&version=1.1.0

// Install Paytabs.Xamarin.Ios as a Cake Tool
#tool nuget:?package=Paytabs.Xamarin.Ios&version=1.1.0

Or

  1. Download the binding library from here.
  2. Add the library to the app references as a Project or as .Net Assembly


Android:

  • Install-Package Paytabs.Xamarin.Android -Version 1.0.8


.NET CLI

dotnet add package Paytabs.Xamarin.Android --version 1.0.15

Package Manager

NuGet\Install-Package Paytabs.Xamarin.Android -Version 1.0.15

PackageReference

<PackageReference Include="Paytabs.Xamarin.Android" Version="1.0.15" />

Paket CLI

paket add Paytabs.Xamarin.Android --version 1.0.15

Script & Interactive

#r "nuget: Paytabs.Xamarin.Android, 1.0.15"

Cake

// Install Paytabs.Xamarin.Android as a Cake Addin
#addin nuget:?package=Paytabs.Xamarin.Android&version=1.0.15

// Install Paytabs.Xamarin.Android as a Cake Tool
#tool nuget:?package=Paytabs.Xamarin.Android&version=1.0.15
  • Then Install-Package Xamarin.Android.Device.YearClass
  • donwload CardScanBindingLib.dll and add it as a reference in your project Example

 




How to activate the SDK?


Nothing you have to do from your side in this step as our SDKs don't need activation, once you installed it properly, it will be considered activated automatically and ready for use.






⌂ To get familiar with the whole process and the other steps, kindly navigate to our "The Xamarin (Bridge) SDK Integration Manual" solution article. 

And to get familiar with the rest of the steps regarding the current step "Step 1 - Setup and activate the integration method" click here.

Or you can navigate to the next step in the process "Step 2 - Configure the integration method" kindly click here