PC.PlugIns.Stripe
1.0.7
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package PC.PlugIns.Stripe --version 1.0.7
NuGet\Install-Package PC.PlugIns.Stripe -Version 1.0.7
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.7" />
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.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PC.PlugIns.Stripe, 1.0.7"
#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.7 // Install PC.PlugIns.Stripe as a Cake Tool #tool nuget:?package=PC.PlugIns.Stripe&version=1.0.7
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 = new StripeService();
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.60)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.60)
- PC.Stripe.Android.Binding (>= 1.0.0)
-
net8.0-ios17.2
- Microsoft.Maui.Controls (>= 8.0.60)
- Microsoft.Maui.Controls.Compatibility (>= 8.0.60)
- PC.Stripe.iOS.Binding (>= 1.0.6)
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 | 358 | 8/8/2024 |
1.0.12 | 172 | 7/3/2024 |
1.0.11 | 102 | 7/2/2024 |
1.0.10 | 99 | 7/2/2024 |
1.0.9 | 94 | 7/2/2024 |
1.0.8 | 93 | 7/2/2024 |
1.0.7 | 101 | 6/17/2024 |
1.0.6 | 108 | 6/14/2024 |
1.0.5 | 111 | 6/14/2024 |
1.0.4 | 121 | 5/6/2024 |
1.0.3 | 112 | 5/6/2024 |
1.0.2 | 111 | 5/6/2024 |
1.0.1 | 111 | 5/6/2024 |
1.0.0 | 119 | 5/6/2024 |