PC.PlugIns.Stripe 1.0.8

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.8                
NuGet\Install-Package PC.PlugIns.Stripe -Version 1.0.8                
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.8" />                
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.8                
#r "nuget: PC.PlugIns.Stripe, 1.0.8"                
#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.8

// Install PC.PlugIns.Stripe as a Cake Tool
#tool nuget:?package=PC.PlugIns.Stripe&version=1.0.8                

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