PC.PlugIns.Stripe
1.0.13
dotnet add package PC.PlugIns.Stripe --version 1.0.13
NuGet\Install-Package PC.PlugIns.Stripe -Version 1.0.13
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PC.PlugIns.Stripe" Version="1.0.13" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PC.PlugIns.Stripe --version 1.0.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PC.PlugIns.Stripe, 1.0.13"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PC.PlugIns.Stripe as a Cake Addin #addin nuget:?package=PC.PlugIns.Stripe&version=1.0.13 // Install PC.PlugIns.Stripe as a Cake Tool #tool nuget:?package=PC.PlugIns.Stripe&version=1.0.13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PC.PlugIns.Stripe
A plug-in for creating Stripe PaymentSheet on MAUI cross-platform. It supports MAUI Android and iOS.
How to use
- Call a use StripePlugIns at MAUI builder()
var builder = MauiApp.CreateBuilder().UseStripePlugin();
- Create a PaymentSheet
using PC.PlugIns.Stripe;
var stripeService = DependencyService.Get<IStripeService>();
stripeService.Configure(new PaymentRequest
{
AccountId = "",
PaymentIntentSecret = "",
CustomerSecret = CustomerSecret,
CustomerId = "",
PublishableKey = "",
ReturnUrl = "",
AllowsDelayedPaymentMethods = true,
MerchantName = ""
});
- Launch a payment sheet
var paymentResult = await stripeService.LaunchPaymentSheet();
- Check paymentResult variable.
1: Success 2: Cancelled 3: Failed
Reference to create a payment sheet document at Stripe iOS and Stripe Android
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-android34.0 is compatible. net8.0-ios17.2 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0-android34.0
- Microsoft.Maui.Controls (>= 8.0.80)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.80)
- PC.Stripe.Android.Binding (>= 1.0.2)
-
net8.0-ios17.2
- Microsoft.Maui.Controls (>= 8.0.80)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.80)
- PC.Stripe.iOS.Binding (>= 1.0.7)
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.13 | 443 | 8/8/2024 |
1.0.12 | 181 | 7/3/2024 |
1.0.11 | 109 | 7/2/2024 |
1.0.10 | 108 | 7/2/2024 |
1.0.9 | 101 | 7/2/2024 |
1.0.8 | 100 | 7/2/2024 |
1.0.7 | 111 | 6/17/2024 |
1.0.6 | 115 | 6/14/2024 |
1.0.5 | 121 | 6/14/2024 |
1.0.4 | 128 | 5/6/2024 |
1.0.3 | 119 | 5/6/2024 |
1.0.2 | 118 | 5/6/2024 |
1.0.1 | 118 | 5/6/2024 |
1.0.0 | 126 | 5/6/2024 |