GrayLabs.Android.NorrisBoat.SydepayAndroidSDK
1.0.1
dotnet add package GrayLabs.Android.NorrisBoat.SydepayAndroidSDK --version 1.0.1
NuGet\Install-Package GrayLabs.Android.NorrisBoat.SydepayAndroidSDK -Version 1.0.1
<PackageReference Include="GrayLabs.Android.NorrisBoat.SydepayAndroidSDK" Version="1.0.1" />
paket add GrayLabs.Android.NorrisBoat.SydepayAndroidSDK --version 1.0.1
#r "nuget: GrayLabs.Android.NorrisBoat.SydepayAndroidSDK, 1.0.1"
// Install GrayLabs.Android.NorrisBoat.SydepayAndroidSDK as a Cake Addin #addin nuget:?package=GrayLabs.Android.NorrisBoat.SydepayAndroidSDK&version=1.0.1 // Install GrayLabs.Android.NorrisBoat.SydepayAndroidSDK as a Cake Tool #tool nuget:?package=GrayLabs.Android.NorrisBoat.SydepayAndroidSDK&version=1.0.1
An android sdk to help developers easily integrate the Slydepay SDK into their applications to accept mobile money and credit card payments.
1. Initialize sdk preferably in your Application class to avoid initializing it multiple time.
new SlydepayPayment(this).InitCredentials("email", "hgyghgfggjhhfch");
2. Performing transactions.
PayWithSlydepay.Pay(this, "itemName", 4.8, "description", "customerName", "customerEmail", "orderCode", "phoneNumber", 800);
protected override void OnActivityResult(int requestCode, [GeneratedEnum] Result resultCode, Intent data)
{
base.OnActivityResult(requestCode, resultCode, data);
if (requestCode == 800)
{
switch (resultCode)
{
case Result.Ok:
//Payment was successful
break;
case Result.Canceled:
//Payment failed
break;
case Result.FirstUser:
//Payment was cancelled by user
break;
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-android was computed. net7.0-android was computed. net8.0-android was computed. |
MonoAndroid | monoandroid is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.1 | 469 | 10/5/2020 |
FIxed major bugs when selecting VISA payment