SwiftBindings.Stripe.PaymentSheet
25.17.0
dotnet add package SwiftBindings.Stripe.PaymentSheet --version 25.17.0
NuGet\Install-Package SwiftBindings.Stripe.PaymentSheet -Version 25.17.0
<PackageReference Include="SwiftBindings.Stripe.PaymentSheet" Version="25.17.0" />
<PackageVersion Include="SwiftBindings.Stripe.PaymentSheet" Version="25.17.0" />
<PackageReference Include="SwiftBindings.Stripe.PaymentSheet" />
paket add SwiftBindings.Stripe.PaymentSheet --version 25.17.0
#r "nuget: SwiftBindings.Stripe.PaymentSheet, 25.17.0"
#:package SwiftBindings.Stripe.PaymentSheet@25.17.0
#addin nuget:?package=SwiftBindings.Stripe.PaymentSheet&version=25.17.0
#tool nuget:?package=SwiftBindings.Stripe.PaymentSheet&version=25.17.0
SwiftBindings.Stripe.PaymentSheet
Native Swift interop bindings for StripePaymentSheet — Stripe's drop-in payment UI for the iOS SDK. Renders all enabled payment methods, handles 3D Secure, Apple Pay, and saved-card flows, and returns a result your app can act on. Pair with CustomerSheet to manage saved payment methods. These are not Objective-C proxy wrappers — they use .NET 10's native Swift interop for direct, high-performance calls into Swift APIs from C#.
Installation
dotnet add package SwiftBindings.Stripe.PaymentSheet
Requirements
- .NET 10.0+
- iOS 15.0+
- macOS host for development
Usage
Customise appearance
using StripePaymentSheet;
var appearance = PaymentSheet.Appearance.Default;
appearance.CornerRadius = 12.0;
appearance.BorderWidth = 2.0;
Configure and present
// Construct PaymentSheet with a PaymentIntent client secret produced by your backend.
// var sheet = new PaymentSheet(paymentIntentClientSecret, configuration);
// sheet.Present(from: viewController, completion: result => { ... });
Address collection
var addressType = new AddressViewController.AddressDetails.AddressType(
city: "San Francisco",
country: "US",
line1: "123 Market St",
line2: null,
postalCode: "94107",
state: "CA");
var details = new AddressViewController.AddressDetails(addressType, name: "Test User");
Documentation
How It Works
These bindings are auto-generated by Swift Dotnet Bindings using .NET 10's native Swift interop via the SwiftBindings SDK.
License
The bindings are MIT licensed. The Stripe iOS SDK is MIT licensed — see Stripe's license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-ios26.0 is compatible. |
-
net10.0-ios26.0
- SwiftBindings.Apple (>= 26.2.6)
- SwiftBindings.Runtime (>= 0.14.0 && < 0.15.0)
- SwiftBindings.Stripe.Core (>= 25.17.0)
- SwiftBindings.Stripe.Payments (>= 25.17.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.