PC.PlugIns.Stripe 1.0.7

There is a newer version of this package available.
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                
#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                

PC.PlugIns.Stripe

A plug-in for creating Stripe PaymentSheet on MAUI cross-platform. It supports MAUI Android and iOS.

How to use

  1. Call a use StripePlugIns at MAUI builder()

    var builder = MauiApp.CreateBuilder().UseStripePlugin();   
    
  1. 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 = ""
        });
  1. Launch a payment sheet


 var paymentResult = await stripeService.LaunchPaymentSheet();
 
  1. Check paymentResult variable.

1: Success 2: Cancelled 3: Failed

Reference to create a payment sheet document at Stripe iOS and Stripe Android

Product 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.

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