From bff9b1d392f00ad6693a5c127fc716b8f73b20e3 Mon Sep 17 00:00:00 2001 From: David Estes Date: Thu, 18 Feb 2021 13:25:48 -0800 Subject: [PATCH 1/3] Initial 21.3.0 --- CHANGELOG.md | 8 ++++++++ README.md | 4 ++-- Stripe.podspec | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b220f2fd09..e598827e58e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 21.3.0 2021-02-18 +* Adds support for SwiftUI in custom integration using the `STPPaymentCardTextField.Representable` View and the `.paymentConfirmationSheet()` ViewModifier. See `IntegrationTester` for usage examples. +* Removes the UIViewController requirement from STPApplePayContext, allowing it to be used in SwiftUI. +* Fixes an issue where `STPPaymentOptionsViewController` could fail to register a card. [#1758](https://github.com/stripe/stripe-ios/issues/1758) +* Fixes an issue where some UnionPay test cards were marked as invalid. [#1759](https://github.com/stripe/stripe-ios/issues/1759) +* Updates tests to run on Carthage 0.37 with .xcframeworks. + + ## 21.2.1 2021-01-29 * Fixed an issue where a payment card text field could resize incorrectly on smaller devices or with certain languages. [#1600](https://github.com/stripe/stripe-ios/issues/1600) * Fixed an issue where the SDK could always return English strings in certain situations. [#1677](https://github.com/stripe/stripe-ios/pull/1677) (Thanks [glaures-ioki](https://github.com/glaures-ioki)!) diff --git a/README.md b/README.md index 5914b3118a9..06e5888e04d 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ From left to right: [STPAddCardViewController](https://stripe.dev/stripe-ios/doc We support Cocoapods, Carthage, and Swift Package Manager. If you link the library manually, use a version from our [releases](https://github.com/stripe/stripe-ios/releases) page. Make sure to embed both `Stripe.xcframework` and `Stripe3DS2.xcframework`. If you're reading this on GitHub.com, please make sure you are looking at the [tagged version](https://github.com/stripe/stripe-ios/tags) that corresponds to the release you have installed. Otherwise, the instructions and example code may be mismatched with your copy. You can read the latest tagged version of this README and browse the associated code on GitHub using -[this link](https://github.com/stripe/stripe-ios/tree/21.2.1). +[this link](https://github.com/stripe/stripe-ios/tree/21.3.0). ## Requirements @@ -108,7 +108,7 @@ We welcome contributions of any kind including new features, bug fixes, and docu ### Running Tests -1. Install Carthage (if you have homebrew installed, `brew install carthage`) +1. Install Carthage 0.37 or later (if you have homebrew installed, `brew install carthage`) 2. From the root of the repo, install test dependencies by running `carthage bootstrap --platform ios --configuration Release --no-use-binaries --use-xcframeworks` 3. Open Stripe.xcworkspace 4. Choose the "StripeiOS" scheme with the iPhone 8, iOS 13.7 simulator (required for snapshot tests to pass) diff --git a/Stripe.podspec b/Stripe.podspec index ac6d3ac7922..0ced6dec2f9 100644 --- a/Stripe.podspec +++ b/Stripe.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Stripe' - s.version = '21.2.1' + s.version = '21.3.0' s.summary = 'Stripe is a web-based API for accepting payments online.' s.license = { :type => 'MIT', :file => 'LICENSE' } s.homepage = 'https://stripe.com/docs/mobile/ios' From f8b4ddf317088ed4410f892f76470a6ece8b3f8b Mon Sep 17 00:00:00 2001 From: David Estes Date: Thu, 18 Feb 2021 13:28:10 -0800 Subject: [PATCH 2/3] Update versions --- README.md | 8 ++++---- Stripe/Info.plist | 4 ++-- Stripe/STPAPIClient.swift | 2 +- VERSION | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 06e5888e04d..3d624468028 100644 --- a/README.md +++ b/README.md @@ -76,11 +76,11 @@ Get started with our [📚 integration guides](https://stripe.com/docs/payments) There are 3 example apps included in the repository: -- [UI Examples](https://github.com/stripe/stripe-ios/tree/21.2.1/Example/UI%20Examples). +- [UI Examples](https://github.com/stripe/stripe-ios/tree/21.3.0/Example/UI%20Examples). - This example lets you quickly try out the SDK's prebuilt UI components using a mock backend—just build and run! -- [Basic Integration](https://github.com/stripe/stripe-ios/tree/21.2.1/Example/Basic%20Integration) +- [Basic Integration](https://github.com/stripe/stripe-ios/tree/21.3.0/Example/Basic%20Integration) - This example demonstrates how to build a payment flow using our prebuilt UI component integration (`STPPaymentContext`). -- [Non-Card Payment Examples](https://github.com/stripe/stripe-ios/tree/21.2.1/Example/Non-Card%20Payment%20Examples) +- [Non-Card Payment Examples](https://github.com/stripe/stripe-ios/tree/21.3.0/Example/Non-Card%20Payment%20Examples) - This example demonstrates how to use `STPAPIClient` to accept various non-card payment methods. Check out [stripe-samples](https://github.com/stripe-samples/) for more, including: @@ -98,7 +98,7 @@ To add card scanning capabilities to our prebuilt UI components, set the `cardSc Card Scanning Demo

-Demo this in our [Basic Integration example app](https://github.com/stripe/stripe-ios/tree/21.2.1/Example/Basic%20Integration). When you run the example app on a device, you'll see a "Scan Card" button when adding a new card. +Demo this in our [Basic Integration example app](https://github.com/stripe/stripe-ios/tree/21.3.0/Example/Basic%20Integration). When you run the example app on a device, you'll see a "Scan Card" button when adding a new card. This feature is currently in beta. Please file bugs on our [GitHub issues page](https://github.com/stripe/stripe-ios/issues). diff --git a/Stripe/Info.plist b/Stripe/Info.plist index 5dd63f0f29b..69e2022888f 100644 --- a/Stripe/Info.plist +++ b/Stripe/Info.plist @@ -13,11 +13,11 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 21.2.1 + 21.3.0 CFBundleSignature ???? CFBundleVersion - 21.2.1 + 21.3.0 NSPrincipalClass diff --git a/Stripe/STPAPIClient.swift b/Stripe/STPAPIClient.swift index 3c1be865f3f..ad995c33927 100644 --- a/Stripe/STPAPIClient.swift +++ b/Stripe/STPAPIClient.swift @@ -17,7 +17,7 @@ import Stripe3DS2 /// A client for making connections to the Stripe API. public class STPAPIClient: NSObject { /// The current version of this library. - @objc public static let STPSDKVersion = "21.2.1" + @objc public static let STPSDKVersion = "21.3.0" /// A shared singleton API client. /// By default, the SDK uses this instance to make API requests diff --git a/VERSION b/VERSION index e7f93e0d579..54d3ad73646 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -21.2.1 +21.3.0 From 1dda4ce0173a851c75f1f18ba644416cb883b6ef Mon Sep 17 00:00:00 2001 From: David Estes Date: Thu, 18 Feb 2021 13:35:30 -0800 Subject: [PATCH 3/3] Update docs --- docs/docs/Classes.html | 284 +++--- docs/docs/Classes/STPAPIClient.html | 80 +- docs/docs/Classes/STPAUBECSDebitFormView.html | 22 +- .../Classes/STPAddCardViewController.html | 36 +- docs/docs/Classes/STPAddress.html | 64 +- docs/docs/Classes/STPAppInfo.html | 22 +- docs/docs/Classes/STPApplePayContext.html | 144 ++- .../Classes/STPApplePayPaymentOption.html | 20 +- docs/docs/Classes/STPBankAccount.html | 38 +- docs/docs/Classes/STPBankAccountParams.html | 34 +- .../STPBankSelectionViewController.html | 24 +- docs/docs/Classes/STPCard.html | 72 +- docs/docs/Classes/STPCardBrandUtilities.html | 14 +- docs/docs/Classes/STPCardParams.html | 48 +- docs/docs/Classes/STPCardValidator.html | 38 +- .../docs/Classes/STPConfirmAlipayOptions.html | 22 +- docs/docs/Classes/STPConfirmCardOptions.html | 20 +- .../STPConfirmPaymentMethodOptions.html | 20 +- .../Classes/STPConnectAccountAddress.html | 30 +- .../STPConnectAccountCompanyParams.html | 40 +- .../STPConnectAccountIndividualParams.html | 52 +- ...PConnectAccountIndividualVerification.html | 22 +- .../docs/Classes/STPConnectAccountParams.html | 34 +- ...STPConnectAccountVerificationDocument.html | 22 +- docs/docs/Classes/STPContactField.html | 24 +- .../Classes/STPCoreScrollViewController.html | 14 +- .../Classes/STPCoreTableViewController.html | 14 +- docs/docs/Classes/STPCoreViewController.html | 20 +- docs/docs/Classes/STPCustomer.html | 28 +- docs/docs/Classes/STPCustomerContext.html | 34 +- .../docs/Classes/STPCustomerDeserializer.html | 20 +- docs/docs/Classes/STPDateOfBirth.html | 24 +- docs/docs/Classes/STPError.html | 44 +- docs/docs/Classes/STPFPXBank.html | 20 +- .../STPFakeAddPaymentPassViewController.html | 20 +- docs/docs/Classes/STPFile.html | 28 +- docs/docs/Classes/STPImageLibrary.html | 44 +- docs/docs/Classes/STPIntentAction.html | 24 +- .../STPIntentActionAlipayHandleRedirect.html | 20 +- .../STPIntentActionOXXODisplayDetails.html | 22 +- .../Classes/STPIntentActionRedirectToURL.html | 20 +- docs/docs/Classes/STPIssuingCardPin.html | 20 +- docs/docs/Classes/STPKlarnaLineItem.html | 22 +- .../STPMandateCustomerAcceptanceParams.html | 24 +- docs/docs/Classes/STPMandateDataParams.html | 22 +- docs/docs/Classes/STPMandateOnlineParams.html | 24 +- docs/docs/Classes/STPMultiFormTextField.html | 26 +- .../STPPaymentActivityIndicatorView.html | 18 +- .../docs/Classes/STPPaymentCardTextField.html | 121 ++- .../Representable.html | 965 ++++++++++++++++++ .../Representable/Coordinator.html | 826 +++++++++++++++ .../docs/Classes/STPPaymentConfiguration.html | 42 +- docs/docs/Classes/STPPaymentContext.html | 98 +- docs/docs/Classes/STPPaymentHandler.html | 30 +- docs/docs/Classes/STPPaymentIntent.html | 56 +- .../STPPaymentIntentLastPaymentError.html | 30 +- docs/docs/Classes/STPPaymentIntentParams.html | 52 +- .../STPPaymentIntentShippingDetails.html | 24 +- ...TPPaymentIntentShippingDetailsAddress.html | 26 +- ...entIntentShippingDetailsAddressParams.html | 32 +- ...STPPaymentIntentShippingDetailsParams.html | 28 +- docs/docs/Classes/STPPaymentMethod.html | 68 +- .../Classes/STPPaymentMethodAUBECSDebit.html | 20 +- .../STPPaymentMethodAUBECSDebitParams.html | 22 +- .../docs/Classes/STPPaymentMethodAddress.html | 34 +- .../STPPaymentMethodAfterpayClearpay.html | 16 +- ...TPPaymentMethodAfterpayClearpayParams.html | 18 +- .../Classes/STPPaymentMethodAlipayParams.html | 18 +- .../Classes/STPPaymentMethodBacsDebit.html | 22 +- .../STPPaymentMethodBacsDebitParams.html | 22 +- .../Classes/STPPaymentMethodBancontact.html | 16 +- .../STPPaymentMethodBancontactParams.html | 18 +- .../STPPaymentMethodBillingDetails.html | 30 +- docs/docs/Classes/STPPaymentMethodCard.html | 40 +- .../Classes/STPPaymentMethodCardChecks.html | 22 +- .../Classes/STPPaymentMethodCardNetworks.html | 20 +- .../Classes/STPPaymentMethodCardParams.html | 34 +- .../Classes/STPPaymentMethodCardPresent.html | 16 +- .../Classes/STPPaymentMethodCardWallet.html | 22 +- .../STPPaymentMethodCardWalletMasterpass.html | 24 +- ...TPPaymentMethodCardWalletVisaCheckout.html | 24 +- docs/docs/Classes/STPPaymentMethodEPS.html | 16 +- .../Classes/STPPaymentMethodEPSParams.html | 18 +- docs/docs/Classes/STPPaymentMethodFPX.html | 18 +- .../Classes/STPPaymentMethodFPXParams.html | 22 +- .../docs/Classes/STPPaymentMethodGiropay.html | 16 +- .../STPPaymentMethodGiropayParams.html | 18 +- .../docs/Classes/STPPaymentMethodGrabPay.html | 16 +- .../STPPaymentMethodGrabPayParams.html | 18 +- .../Classes/STPPaymentMethodNetBanking.html | 18 +- .../STPPaymentMethodNetBankingParams.html | 20 +- docs/docs/Classes/STPPaymentMethodOXXO.html | 16 +- .../Classes/STPPaymentMethodOXXOParams.html | 18 +- docs/docs/Classes/STPPaymentMethodParams.html | 134 +-- .../Classes/STPPaymentMethodPrzelewy24.html | 16 +- .../STPPaymentMethodPrzelewy24Params.html | 18 +- .../Classes/STPPaymentMethodSEPADebit.html | 28 +- .../STPPaymentMethodSEPADebitParams.html | 20 +- docs/docs/Classes/STPPaymentMethodSofort.html | 18 +- .../Classes/STPPaymentMethodSofortParams.html | 20 +- .../STPPaymentMethodThreeDSecureUsage.html | 18 +- docs/docs/Classes/STPPaymentMethodUPI.html | 18 +- .../Classes/STPPaymentMethodUPIParams.html | 20 +- docs/docs/Classes/STPPaymentMethodiDEAL.html | 20 +- .../Classes/STPPaymentMethodiDEALParams.html | 20 +- .../STPPaymentOptionsViewController.html | 34 +- docs/docs/Classes/STPPaymentResult.html | 22 +- .../docs/Classes/STPPinManagementService.html | 20 +- .../Classes/STPPushProvisioningContext.html | 20 +- .../STPPushProvisioningDetailsParams.html | 28 +- docs/docs/Classes/STPRedirectContext.html | 28 +- docs/docs/Classes/STPSetupIntent.html | 42 +- .../Classes/STPSetupIntentConfirmParams.html | 32 +- .../Classes/STPSetupIntentLastSetupError.html | 32 +- .../STPShippingAddressViewController.html | 24 +- docs/docs/Classes/STPSource.html | 64 +- docs/docs/Classes/STPSourceCardDetails.html | 32 +- docs/docs/Classes/STPSourceKlarnaDetails.html | 20 +- docs/docs/Classes/STPSourceOwner.html | 32 +- docs/docs/Classes/STPSourceParams.html | 76 +- docs/docs/Classes/STPSourceReceiver.html | 24 +- docs/docs/Classes/STPSourceRedirect.html | 22 +- .../Classes/STPSourceSEPADebitDetails.html | 28 +- docs/docs/Classes/STPSourceVerification.html | 20 +- .../Classes/STPSourceWeChatPayDetails.html | 18 +- docs/docs/Classes/STPTheme.html | 44 +- .../STPThreeDSButtonCustomization.html | 26 +- .../STPThreeDSCustomizationSettings.html | 18 +- .../STPThreeDSFooterCustomization.html | 26 +- .../Classes/STPThreeDSLabelCustomization.html | 22 +- .../STPThreeDSNavigationBarCustomization.html | 28 +- .../STPThreeDSSelectionCustomization.html | 22 +- .../STPThreeDSTextFieldCustomization.html | 28 +- .../Classes/STPThreeDSUICustomization.html | 34 +- docs/docs/Classes/STPToken.html | 30 +- docs/docs/Classes/STPUserInformation.html | 18 +- docs/docs/Classes/StripeAPI.html | 41 +- docs/docs/Enums.html | 104 +- docs/docs/Enums/STPBankAccountHolderType.html | 16 +- docs/docs/Enums/STPBankAccountStatus.html | 22 +- docs/docs/Enums/STPBankSelectionMethod.html | 16 +- docs/docs/Enums/STPBillingAddressFields.html | 22 +- docs/docs/Enums/STPCardBrand.html | 28 +- docs/docs/Enums/STPCardErrorCode.html | 32 +- docs/docs/Enums/STPCardFundingType.html | 20 +- docs/docs/Enums/STPCardValidationState.html | 18 +- .../Enums/STPConnectAccountBusinessType.html | 16 +- docs/docs/Enums/STPErrorCode.html | 24 +- docs/docs/Enums/STPFPXBankBrand.html | 50 +- docs/docs/Enums/STPFilePurpose.html | 18 +- docs/docs/Enums/STPIntentActionType.html | 22 +- docs/docs/Enums/STPKlarnaLineItemType.html | 18 +- docs/docs/Enums/STPKlarnaPaymentMethods.html | 20 +- .../STPMandateCustomerAcceptanceType.html | 16 +- .../Enums/STPPaymentHandlerActionStatus.html | 18 +- .../Enums/STPPaymentHandlerErrorCode.html | 32 +- .../Enums/STPPaymentIntentActionType.html | 16 +- .../Enums/STPPaymentIntentCaptureMethod.html | 18 +- .../STPPaymentIntentConfirmationMethod.html | 18 +- .../STPPaymentIntentLastPaymentErrorType.html | 28 +- .../STPPaymentIntentSetupFutureUsage.html | 20 +- .../STPPaymentIntentSourceActionType.html | 16 +- docs/docs/Enums/STPPaymentIntentStatus.html | 32 +- .../STPPaymentMethodCardCheckResult.html | 22 +- .../Enums/STPPaymentMethodCardWalletType.html | 26 +- docs/docs/Enums/STPPaymentMethodType.html | 50 +- docs/docs/Enums/STPPaymentStatus.html | 18 +- docs/docs/Enums/STPPinStatus.html | 26 +- docs/docs/Enums/STPRedirectContextError.html | 14 +- docs/docs/Enums/STPRedirectContextState.html | 20 +- .../STPSetupIntentLastSetupErrorType.html | 28 +- docs/docs/Enums/STPSetupIntentStatus.html | 26 +- docs/docs/Enums/STPSetupIntentUsage.html | 20 +- docs/docs/Enums/STPShippingStatus.html | 16 +- docs/docs/Enums/STPShippingType.html | 16 +- .../Enums/STPSourceCard3DSecureStatus.html | 22 +- docs/docs/Enums/STPSourceFlow.html | 22 +- docs/docs/Enums/STPSourceRedirectStatus.html | 22 +- docs/docs/Enums/STPSourceStatus.html | 24 +- docs/docs/Enums/STPSourceType.html | 40 +- docs/docs/Enums/STPSourceUsage.html | 18 +- .../Enums/STPSourceVerificationStatus.html | 20 +- .../Enums/STPThreeDSButtonTitleStyle.html | 20 +- .../STPThreeDSCustomizationButtonType.html | 22 +- docs/docs/Enums/STPTokenType.html | 22 +- docs/docs/Extensions.html | 37 +- docs/docs/Extensions/NSError.html | 12 +- docs/docs/Extensions/UINavigationBar.html | 14 +- docs/docs/Extensions/View.html | 948 +++++++++++++++++ docs/docs/Protocols.html | 46 +- .../Protocols/STPAPIResponseDecodable.html | 16 +- .../STPAUBECSDebitFormViewDelegate.html | 14 +- .../STPAddCardViewControllerDelegate.html | 20 +- .../Protocols/STPApplePayContextDelegate.html | 22 +- .../Protocols/STPAuthenticationContext.html | 20 +- docs/docs/Protocols/STPBackendAPIAdapter.html | 22 +- ...TPBankSelectionViewControllerDelegate.html | 14 +- .../STPCustomerEphemeralKeyProvider.html | 14 +- docs/docs/Protocols/STPFormEncodable.html | 18 +- .../Protocols/STPFormTextFieldContainer.html | 24 +- .../STPIssuingCardEphemeralKeyProvider.html | 14 +- .../STPPaymentCardTextFieldDelegate.html | 36 +- .../Protocols/STPPaymentContextDelegate.html | 22 +- docs/docs/Protocols/STPPaymentOption.html | 20 +- ...PPaymentOptionsViewControllerDelegate.html | 20 +- ...ShippingAddressViewControllerDelegate.html | 18 +- docs/docs/Protocols/STPSourceProtocol.html | 14 +- docs/docs/Typealiases.html | 54 +- .../Contents/Resources/Documents/Classes.html | 284 +++--- .../Documents/Classes/STPAPIClient.html | 80 +- .../Classes/STPAUBECSDebitFormView.html | 22 +- .../Classes/STPAddCardViewController.html | 36 +- .../Documents/Classes/STPAddress.html | 64 +- .../Documents/Classes/STPAppInfo.html | 22 +- .../Documents/Classes/STPApplePayContext.html | 144 ++- .../Classes/STPApplePayPaymentOption.html | 20 +- .../Documents/Classes/STPBankAccount.html | 38 +- .../Classes/STPBankAccountParams.html | 34 +- .../STPBankSelectionViewController.html | 24 +- .../Resources/Documents/Classes/STPCard.html | 72 +- .../Classes/STPCardBrandUtilities.html | 14 +- .../Documents/Classes/STPCardParams.html | 48 +- .../Documents/Classes/STPCardValidator.html | 38 +- .../Classes/STPConfirmAlipayOptions.html | 22 +- .../Classes/STPConfirmCardOptions.html | 20 +- .../STPConfirmPaymentMethodOptions.html | 20 +- .../Classes/STPConnectAccountAddress.html | 30 +- .../STPConnectAccountCompanyParams.html | 40 +- .../STPConnectAccountIndividualParams.html | 52 +- ...PConnectAccountIndividualVerification.html | 22 +- .../Classes/STPConnectAccountParams.html | 34 +- ...STPConnectAccountVerificationDocument.html | 22 +- .../Documents/Classes/STPContactField.html | 24 +- .../Classes/STPCoreScrollViewController.html | 14 +- .../Classes/STPCoreTableViewController.html | 14 +- .../Classes/STPCoreViewController.html | 20 +- .../Documents/Classes/STPCustomer.html | 28 +- .../Documents/Classes/STPCustomerContext.html | 34 +- .../Classes/STPCustomerDeserializer.html | 20 +- .../Documents/Classes/STPDateOfBirth.html | 24 +- .../Resources/Documents/Classes/STPError.html | 44 +- .../Documents/Classes/STPFPXBank.html | 20 +- .../STPFakeAddPaymentPassViewController.html | 20 +- .../Resources/Documents/Classes/STPFile.html | 28 +- .../Documents/Classes/STPImageLibrary.html | 44 +- .../Documents/Classes/STPIntentAction.html | 24 +- .../STPIntentActionAlipayHandleRedirect.html | 20 +- .../STPIntentActionOXXODisplayDetails.html | 22 +- .../Classes/STPIntentActionRedirectToURL.html | 20 +- .../Documents/Classes/STPIssuingCardPin.html | 20 +- .../Documents/Classes/STPKlarnaLineItem.html | 22 +- .../STPMandateCustomerAcceptanceParams.html | 24 +- .../Classes/STPMandateDataParams.html | 22 +- .../Classes/STPMandateOnlineParams.html | 24 +- .../Classes/STPMultiFormTextField.html | 26 +- .../STPPaymentActivityIndicatorView.html | 18 +- .../Classes/STPPaymentCardTextField.html | 121 ++- .../Representable.html | 965 ++++++++++++++++++ .../Representable/Coordinator.html | 826 +++++++++++++++ .../Classes/STPPaymentConfiguration.html | 42 +- .../Documents/Classes/STPPaymentContext.html | 98 +- .../Documents/Classes/STPPaymentHandler.html | 30 +- .../Documents/Classes/STPPaymentIntent.html | 56 +- .../STPPaymentIntentLastPaymentError.html | 30 +- .../Classes/STPPaymentIntentParams.html | 52 +- .../STPPaymentIntentShippingDetails.html | 24 +- ...TPPaymentIntentShippingDetailsAddress.html | 26 +- ...entIntentShippingDetailsAddressParams.html | 32 +- ...STPPaymentIntentShippingDetailsParams.html | 28 +- .../Documents/Classes/STPPaymentMethod.html | 68 +- .../Classes/STPPaymentMethodAUBECSDebit.html | 20 +- .../STPPaymentMethodAUBECSDebitParams.html | 22 +- .../Classes/STPPaymentMethodAddress.html | 34 +- .../STPPaymentMethodAfterpayClearpay.html | 16 +- ...TPPaymentMethodAfterpayClearpayParams.html | 18 +- .../Classes/STPPaymentMethodAlipayParams.html | 18 +- .../Classes/STPPaymentMethodBacsDebit.html | 22 +- .../STPPaymentMethodBacsDebitParams.html | 22 +- .../Classes/STPPaymentMethodBancontact.html | 16 +- .../STPPaymentMethodBancontactParams.html | 18 +- .../STPPaymentMethodBillingDetails.html | 30 +- .../Classes/STPPaymentMethodCard.html | 40 +- .../Classes/STPPaymentMethodCardChecks.html | 22 +- .../Classes/STPPaymentMethodCardNetworks.html | 20 +- .../Classes/STPPaymentMethodCardParams.html | 34 +- .../Classes/STPPaymentMethodCardPresent.html | 16 +- .../Classes/STPPaymentMethodCardWallet.html | 22 +- .../STPPaymentMethodCardWalletMasterpass.html | 24 +- ...TPPaymentMethodCardWalletVisaCheckout.html | 24 +- .../Classes/STPPaymentMethodEPS.html | 16 +- .../Classes/STPPaymentMethodEPSParams.html | 18 +- .../Classes/STPPaymentMethodFPX.html | 18 +- .../Classes/STPPaymentMethodFPXParams.html | 22 +- .../Classes/STPPaymentMethodGiropay.html | 16 +- .../STPPaymentMethodGiropayParams.html | 18 +- .../Classes/STPPaymentMethodGrabPay.html | 16 +- .../STPPaymentMethodGrabPayParams.html | 18 +- .../Classes/STPPaymentMethodNetBanking.html | 18 +- .../STPPaymentMethodNetBankingParams.html | 20 +- .../Classes/STPPaymentMethodOXXO.html | 16 +- .../Classes/STPPaymentMethodOXXOParams.html | 18 +- .../Classes/STPPaymentMethodParams.html | 134 +-- .../Classes/STPPaymentMethodPrzelewy24.html | 16 +- .../STPPaymentMethodPrzelewy24Params.html | 18 +- .../Classes/STPPaymentMethodSEPADebit.html | 28 +- .../STPPaymentMethodSEPADebitParams.html | 20 +- .../Classes/STPPaymentMethodSofort.html | 18 +- .../Classes/STPPaymentMethodSofortParams.html | 20 +- .../STPPaymentMethodThreeDSecureUsage.html | 18 +- .../Classes/STPPaymentMethodUPI.html | 18 +- .../Classes/STPPaymentMethodUPIParams.html | 20 +- .../Classes/STPPaymentMethodiDEAL.html | 20 +- .../Classes/STPPaymentMethodiDEALParams.html | 20 +- .../STPPaymentOptionsViewController.html | 34 +- .../Documents/Classes/STPPaymentResult.html | 22 +- .../Classes/STPPinManagementService.html | 20 +- .../Classes/STPPushProvisioningContext.html | 20 +- .../STPPushProvisioningDetailsParams.html | 28 +- .../Documents/Classes/STPRedirectContext.html | 28 +- .../Documents/Classes/STPSetupIntent.html | 42 +- .../Classes/STPSetupIntentConfirmParams.html | 32 +- .../Classes/STPSetupIntentLastSetupError.html | 32 +- .../STPShippingAddressViewController.html | 24 +- .../Documents/Classes/STPSource.html | 64 +- .../Classes/STPSourceCardDetails.html | 32 +- .../Classes/STPSourceKlarnaDetails.html | 20 +- .../Documents/Classes/STPSourceOwner.html | 32 +- .../Documents/Classes/STPSourceParams.html | 76 +- .../Documents/Classes/STPSourceReceiver.html | 24 +- .../Documents/Classes/STPSourceRedirect.html | 22 +- .../Classes/STPSourceSEPADebitDetails.html | 28 +- .../Classes/STPSourceVerification.html | 20 +- .../Classes/STPSourceWeChatPayDetails.html | 18 +- .../Resources/Documents/Classes/STPTheme.html | 44 +- .../STPThreeDSButtonCustomization.html | 26 +- .../STPThreeDSCustomizationSettings.html | 18 +- .../STPThreeDSFooterCustomization.html | 26 +- .../Classes/STPThreeDSLabelCustomization.html | 22 +- .../STPThreeDSNavigationBarCustomization.html | 28 +- .../STPThreeDSSelectionCustomization.html | 22 +- .../STPThreeDSTextFieldCustomization.html | 28 +- .../Classes/STPThreeDSUICustomization.html | 34 +- .../Resources/Documents/Classes/STPToken.html | 30 +- .../Documents/Classes/STPUserInformation.html | 18 +- .../Documents/Classes/StripeAPI.html | 41 +- .../Contents/Resources/Documents/Enums.html | 104 +- .../Enums/STPBankAccountHolderType.html | 16 +- .../Documents/Enums/STPBankAccountStatus.html | 22 +- .../Enums/STPBankSelectionMethod.html | 16 +- .../Enums/STPBillingAddressFields.html | 22 +- .../Documents/Enums/STPCardBrand.html | 28 +- .../Documents/Enums/STPCardErrorCode.html | 32 +- .../Documents/Enums/STPCardFundingType.html | 20 +- .../Enums/STPCardValidationState.html | 18 +- .../Enums/STPConnectAccountBusinessType.html | 16 +- .../Documents/Enums/STPErrorCode.html | 24 +- .../Documents/Enums/STPFPXBankBrand.html | 50 +- .../Documents/Enums/STPFilePurpose.html | 18 +- .../Documents/Enums/STPIntentActionType.html | 22 +- .../Enums/STPKlarnaLineItemType.html | 18 +- .../Enums/STPKlarnaPaymentMethods.html | 20 +- .../STPMandateCustomerAcceptanceType.html | 16 +- .../Enums/STPPaymentHandlerActionStatus.html | 18 +- .../Enums/STPPaymentHandlerErrorCode.html | 32 +- .../Enums/STPPaymentIntentActionType.html | 16 +- .../Enums/STPPaymentIntentCaptureMethod.html | 18 +- .../STPPaymentIntentConfirmationMethod.html | 18 +- .../STPPaymentIntentLastPaymentErrorType.html | 28 +- .../STPPaymentIntentSetupFutureUsage.html | 20 +- .../STPPaymentIntentSourceActionType.html | 16 +- .../Enums/STPPaymentIntentStatus.html | 32 +- .../STPPaymentMethodCardCheckResult.html | 22 +- .../Enums/STPPaymentMethodCardWalletType.html | 26 +- .../Documents/Enums/STPPaymentMethodType.html | 50 +- .../Documents/Enums/STPPaymentStatus.html | 18 +- .../Documents/Enums/STPPinStatus.html | 26 +- .../Enums/STPRedirectContextError.html | 14 +- .../Enums/STPRedirectContextState.html | 20 +- .../STPSetupIntentLastSetupErrorType.html | 28 +- .../Documents/Enums/STPSetupIntentStatus.html | 26 +- .../Documents/Enums/STPSetupIntentUsage.html | 20 +- .../Documents/Enums/STPShippingStatus.html | 16 +- .../Documents/Enums/STPShippingType.html | 16 +- .../Enums/STPSourceCard3DSecureStatus.html | 22 +- .../Documents/Enums/STPSourceFlow.html | 22 +- .../Enums/STPSourceRedirectStatus.html | 22 +- .../Documents/Enums/STPSourceStatus.html | 24 +- .../Documents/Enums/STPSourceType.html | 40 +- .../Documents/Enums/STPSourceUsage.html | 18 +- .../Enums/STPSourceVerificationStatus.html | 20 +- .../Enums/STPThreeDSButtonTitleStyle.html | 20 +- .../STPThreeDSCustomizationButtonType.html | 22 +- .../Documents/Enums/STPTokenType.html | 22 +- .../Resources/Documents/Extensions.html | 37 +- .../Documents/Extensions/NSError.html | 12 +- .../Documents/Extensions/UINavigationBar.html | 14 +- .../Resources/Documents/Extensions/View.html | 948 +++++++++++++++++ .../Resources/Documents/Protocols.html | 46 +- .../Protocols/STPAPIResponseDecodable.html | 16 +- .../STPAUBECSDebitFormViewDelegate.html | 14 +- .../STPAddCardViewControllerDelegate.html | 20 +- .../Protocols/STPApplePayContextDelegate.html | 22 +- .../Protocols/STPAuthenticationContext.html | 20 +- .../Protocols/STPBackendAPIAdapter.html | 22 +- ...TPBankSelectionViewControllerDelegate.html | 14 +- .../STPCustomerEphemeralKeyProvider.html | 14 +- .../Documents/Protocols/STPFormEncodable.html | 18 +- .../Protocols/STPFormTextFieldContainer.html | 24 +- .../STPIssuingCardEphemeralKeyProvider.html | 14 +- .../STPPaymentCardTextFieldDelegate.html | 36 +- .../Protocols/STPPaymentContextDelegate.html | 22 +- .../Documents/Protocols/STPPaymentOption.html | 20 +- ...PPaymentOptionsViewControllerDelegate.html | 20 +- ...ShippingAddressViewControllerDelegate.html | 18 +- .../Protocols/STPSourceProtocol.html | 14 +- .../Resources/Documents/Typealiases.html | 54 +- .../Contents/Resources/Documents/index.html | 24 +- .../Contents/Resources/Documents/search.json | 2 +- .../Contents/Resources/docSet.dsidx | Bin 491520 -> 507904 bytes docs/docs/docsets/Stripe.tgz | Bin 1196229 -> 1217344 bytes docs/docs/index.html | 24 +- docs/docs/search.json | 2 +- 422 files changed, 12924 insertions(+), 4620 deletions(-) create mode 100644 docs/docs/Classes/STPPaymentCardTextField/Representable.html create mode 100644 docs/docs/Classes/STPPaymentCardTextField/Representable/Coordinator.html create mode 100644 docs/docs/Extensions/View.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentCardTextField/Representable.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentCardTextField/Representable/Coordinator.html create mode 100644 docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Extensions/View.html diff --git a/docs/docs/Classes.html b/docs/docs/Classes.html index b1c0d49944c..795518e317f 100644 --- a/docs/docs/Classes.html +++ b/docs/docs/Classes.html @@ -21,7 +21,7 @@

- Stripe 21.2.1 Docs + Stripe 21.3.0 Docs

@@ -197,6 +197,9 @@ + @@ -618,6 +621,9 @@ + +
  • + +
    +
    +
    +
    +
    +

    Presents the Apple Pay sheet from the key window, starting the payment process. +@note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:ďąš` in App Extensions.")
    +@available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:ďąš` in App Extensions.")
    +@objc(presentApplePayWithCompletion:)
    +public func presentApplePay(completion: STPVoidBlock? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + completion + + +
    +

    Called after the Apple Pay sheet is presented

    +
    +
    +
    + +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Presents the Apple Pay sheet from the specified window, starting the payment process. +@note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(presentApplePayFromWindow:withCompletion:)
    +public func presentApplePay(from window: UIWindow?, completion: STPVoidBlock? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + window + + +
    +

    The UIWindow to host the Apple Pay sheet

    +
    +
    + + completion + + +
    +

    Called after the Apple Pay sheet is presented

    +
    +
    +
    +
    @@ -950,7 +1074,7 @@

    Declaration

    @@ -963,7 +1087,7 @@

    Declaration

    diff --git a/docs/docs/Classes/STPApplePayPaymentOption.html b/docs/docs/Classes/STPApplePayPaymentOption.html index 2c09609c936..469aff50362 100644 --- a/docs/docs/Classes/STPApplePayPaymentOption.html +++ b/docs/docs/Classes/STPApplePayPaymentOption.html @@ -21,7 +21,7 @@

    - Stripe 21.2.1 Docs + Stripe 21.3.0 Docs

    @@ -197,6 +197,9 @@ + @@ -618,6 +621,9 @@ +
  • +
  • +
    + + + + Representable + +
    +
    +
    +
    +
    +
    +

    A SwiftUI representation of an STPPaymentCardTextField.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Representable : UIViewRepresentable
    + +
    +
    +
    @@ -2129,7 +2166,7 @@

    Return Value

    diff --git a/docs/docs/Classes/STPPaymentCardTextField/Representable.html b/docs/docs/Classes/STPPaymentCardTextField/Representable.html new file mode 100644 index 00000000000..b0ab8ad1057 --- /dev/null +++ b/docs/docs/Classes/STPPaymentCardTextField/Representable.html @@ -0,0 +1,965 @@ + + + + Representable Structure Reference + + + + + + + + + + + + + + + + +
    +

    + + Stripe 21.3.0 Docs + + +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    Representable

    +
    +
    + +
    public struct Representable : UIViewRepresentable
    + +
    +
    +

    A SwiftUI representation of an STPPaymentCardTextField.

    + + +
    +
    + +
    +
    +
    + +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docs/Classes/STPPaymentCardTextField/Representable/Coordinator.html b/docs/docs/Classes/STPPaymentCardTextField/Representable/Coordinator.html new file mode 100644 index 00000000000..f5b27c03986 --- /dev/null +++ b/docs/docs/Classes/STPPaymentCardTextField/Representable/Coordinator.html @@ -0,0 +1,826 @@ + + + + Coordinator Class Reference + + + + + + + + + + + + + + + + +
    +

    + + Stripe 21.3.0 Docs + + +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + + +
    + + + + diff --git a/docs/docs/Classes/STPPaymentConfiguration.html b/docs/docs/Classes/STPPaymentConfiguration.html index b6751a718b5..e25dd7cab3a 100644 --- a/docs/docs/Classes/STPPaymentConfiguration.html +++ b/docs/docs/Classes/STPPaymentConfiguration.html @@ -21,7 +21,7 @@

    - Stripe 21.2.1 Docs + Stripe 21.3.0 Docs

    @@ -197,6 +197,9 @@ + @@ -618,6 +621,9 @@ +
  • +
  • +
    + + + + View + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension View
    + +
    +
    +
    +
    +
  • @@ -841,7 +874,7 @@

    Declaration

    diff --git a/docs/docs/Extensions/NSError.html b/docs/docs/Extensions/NSError.html index 7efad9d8ad1..312292faca0 100644 --- a/docs/docs/Extensions/NSError.html +++ b/docs/docs/Extensions/NSError.html @@ -21,7 +21,7 @@

    - Stripe 21.2.1 Docs + Stripe 21.3.0 Docs

    @@ -197,6 +197,9 @@ + @@ -618,6 +621,9 @@ +
  • +
  • + +
    +
    +
    +
    +
    +

    Presents the Apple Pay sheet from the key window, starting the payment process. +@note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @available(iOSApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:ďąš` in App Extensions.")
    +@available(macCatalystApplicationExtension, unavailable, message: "Use `presentApplePay(from:completion:ďąš` in App Extensions.")
    +@objc(presentApplePayWithCompletion:)
    +public func presentApplePay(completion: STPVoidBlock? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + completion + + +
    +

    Called after the Apple Pay sheet is presented

    +
    +
    +
    + +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Presents the Apple Pay sheet from the specified window, starting the payment process. +@note This method should only be called once; create a new instance of STPApplePayContext every time you present Apple Pay.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    @objc(presentApplePayFromWindow:withCompletion:)
    +public func presentApplePay(from window: UIWindow?, completion: STPVoidBlock? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + window + + +
    +

    The UIWindow to host the Apple Pay sheet

    +
    +
    + + completion + + +
    +

    Called after the Apple Pay sheet is presented

    +
    +
    +
    +
    @@ -950,7 +1074,7 @@

    Declaration

    @@ -963,7 +1087,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPApplePayPaymentOption.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPApplePayPaymentOption.html index 2c09609c936..469aff50362 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPApplePayPaymentOption.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPApplePayPaymentOption.html @@ -21,7 +21,7 @@

    - Stripe 21.2.1 Docs + Stripe 21.3.0 Docs

    @@ -197,6 +197,9 @@ + @@ -618,6 +621,9 @@ +
  • +
  • +
    + + + + Representable + +
    +
    +
    +
    +
    +
    +

    A SwiftUI representation of an STPPaymentCardTextField.

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Representable : UIViewRepresentable
    + +
    +
    +
    @@ -2129,7 +2166,7 @@

    Return Value

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentCardTextField/Representable.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentCardTextField/Representable.html new file mode 100644 index 00000000000..b0ab8ad1057 --- /dev/null +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentCardTextField/Representable.html @@ -0,0 +1,965 @@ + + + + Representable Structure Reference + + + + + + + + + + + + + + + + +
    +

    + + Stripe 21.3.0 Docs + + +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + +
    + +
    +
    +

    Representable

    +
    +
    + +
    public struct Representable : UIViewRepresentable
    + +
    +
    +

    A SwiftUI representation of an STPPaymentCardTextField.

    + + +
    +
    + +
    +
    +
    + +
    +
    +
    + +
    +
    + + + + diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentCardTextField/Representable/Coordinator.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentCardTextField/Representable/Coordinator.html new file mode 100644 index 00000000000..f5b27c03986 --- /dev/null +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentCardTextField/Representable/Coordinator.html @@ -0,0 +1,826 @@ + + + + Coordinator Class Reference + + + + + + + + + + + + + + + + +
    +

    + + Stripe 21.3.0 Docs + + +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +
    + + + +
    + + +
    + + + + diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentConfiguration.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentConfiguration.html index b6751a718b5..e25dd7cab3a 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentConfiguration.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Classes/STPPaymentConfiguration.html @@ -21,7 +21,7 @@

    - Stripe 21.2.1 Docs + Stripe 21.3.0 Docs

    @@ -197,6 +197,9 @@ + @@ -618,6 +621,9 @@ +
  • +
  • +
    + + + + View + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension View
    + +
    +
    +
    +
    +
  • @@ -841,7 +874,7 @@

    Declaration

    diff --git a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Extensions/NSError.html b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Extensions/NSError.html index 7efad9d8ad1..312292faca0 100644 --- a/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Extensions/NSError.html +++ b/docs/docs/docsets/Stripe.docset/Contents/Resources/Documents/Extensions/NSError.html @@ -21,7 +21,7 @@

    - Stripe 21.2.1 Docs + Stripe 21.3.0 Docs

    @@ -197,6 +197,9 @@ + @@ -618,6 +621,9 @@ +