@stripe/stripe-react-native 0.4.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/README.md +6 -1
- package/android/build/.transforms/{c731e6bf5b480f659bf1c341f3f0657c → 253af79d247c9f91c901f2038cdc6938}/results.bin +0 -0
- package/android/build/.transforms/253af79d247c9f91c901f2038cdc6938/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{e9391f6bbf8da46ff748ca7feadbce73 → 3cbaee99352386a9df7b22dbbb69831e}/results.bin +0 -0
- package/android/build/.transforms/3cbaee99352386a9df7b22dbbb69831e/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/{f0b2868ed2d4a4bb73b1ace98fe4ccfa → 8d3571dbfd2a31ee669f64a85b02f3fc}/results.bin +0 -0
- package/android/build/.transforms/8d3571dbfd2a31ee669f64a85b02f3fc/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/bcac5194839639e17669a07fd0143335/results.bin +1 -0
- package/android/build/.transforms/bcac5194839639e17669a07fd0143335/transformed/classes/classes.dex +0 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +4 -2
- package/android/build/intermediates/aar_metadata/debug/aar-metadata.properties +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/R.txt +553 -29
- package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +1 -1
- package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/databinding/GooglepayButtonBinding.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/databinding/GooglepayButtonNoShadowBinding.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/databinding/PayWithGooglepayButtonBinding.class +0 -0
- package/android/build/intermediates/javac/debug/classes/com/reactnativestripesdk/databinding/PayWithGooglepayButtonNoShadowBinding.class +0 -0
- package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
- package/android/build/intermediates/packaged_manifests/debug/output-metadata.json +4 -2
- package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +523 -29
- package/android/build/kotlin/compileDebugKotlin/build-history.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/package-parts.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.s +1 -1
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/counters.tab +2 -2
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.s +1 -1
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/last-build.bin +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/reactnativestripesdk_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/AuBECSDebitFormView$setListeners$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/AuBECSDebitFormView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/AuBECSDebitFormViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardChangedEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardChangedEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$10.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$6.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$7.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$8.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView$setListeners$9.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFieldViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFocusEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFocusEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormCompleteEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormCompleteEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CardFormViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CollectBankAccountLauncherFragment$createBankAccountLauncher$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CollectBankAccountLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConfirmPaymentErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConfirmSetupIntentErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/CreateTokenErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/DefaultPushProvisioningProxy.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ErrorsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ExtensionsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/FormCompleteEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/FormCompleteEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayButtonView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment$onViewCreated$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/MappersKt$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/MappersKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrievePaymentIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment$retrieveSetupIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentLauncherFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsException.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetFragment.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetFragmentKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PushProvisioningProxy$createActivityEventListener$listener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PushProvisioningProxy.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/RetrievePaymentIntentErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/RetrieveSetupIntentErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeContainerManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeContainerView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createPaymentMethod$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenForCVCUpdate$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenFromBankAccount$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$createTokenFromCard$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$retrievePaymentIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$retrieveSetupIntent$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$paymentCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$verifyMicrodeposits$setupCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkPackage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonView$onAfterUpdateTransaction$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/AddToWalletCompleteEvent$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/AddToWalletCompleteEvent.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/EphemeralKeyProvider$CREATOR.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/EphemeralKeyProvider.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/pushprovisioning/TapAndPayProxy.class +0 -0
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/reactnativestripesdk/AuBECSDebitFormView.kt +1 -10
- package/android/src/main/java/com/reactnativestripesdk/AuBECSDebitFormViewManager.kt +4 -2
- package/android/src/main/java/com/reactnativestripesdk/CardChangedEvent.kt +0 -4
- package/android/src/main/java/com/reactnativestripesdk/{StripeSdkCardView.kt → CardFieldView.kt} +6 -9
- package/android/src/main/java/com/reactnativestripesdk/{StripeSdkCardViewManager.kt → CardFieldViewManager.kt} +20 -16
- package/android/src/main/java/com/reactnativestripesdk/CardFormView.kt +23 -23
- package/android/src/main/java/com/reactnativestripesdk/CardFormViewManager.kt +9 -6
- package/android/src/main/java/com/reactnativestripesdk/Errors.kt +3 -3
- package/android/src/main/java/com/reactnativestripesdk/FormCompleteEvent.kt +0 -1
- package/android/src/main/java/com/reactnativestripesdk/GooglePayButtonManager.kt +1 -0
- package/android/src/main/java/com/reactnativestripesdk/GooglePayButtonView.kt +1 -1
- package/android/src/main/java/com/reactnativestripesdk/GooglePayPaymentMethodLauncherFragment.kt +1 -1
- package/android/src/main/java/com/reactnativestripesdk/Mappers.kt +51 -12
- package/android/src/main/java/com/reactnativestripesdk/PaymentLauncherFragment.kt +122 -0
- package/android/src/main/java/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.kt +103 -98
- package/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt +51 -58
- package/android/src/main/java/com/reactnativestripesdk/StripeContainerManager.kt +2 -1
- package/android/src/main/java/com/reactnativestripesdk/StripeSdkModule.kt +84 -124
- package/android/src/main/java/com/reactnativestripesdk/StripeSdkPackage.kt +1 -1
- package/ios/.DS_Store +0 -0
- package/ios/AuBECSDebitFormView.swift +15 -0
- package/ios/Errors.swift +9 -35
- package/ios/Mappers.swift +110 -5
- package/ios/PaymentMethodFactory.swift +46 -1
- package/ios/StripeSdk.m +15 -1
- package/ios/StripeSdk.swift +287 -105
- package/jest/mock.js +1 -1
- package/lib/commonjs/NativeStripeSdk.js.map +1 -1
- package/lib/commonjs/components/StripeProvider.js +1 -1
- package/lib/commonjs/components/StripeProvider.js.map +1 -1
- package/lib/commonjs/functions.js +1 -1
- package/lib/commonjs/functions.js.map +1 -1
- package/lib/commonjs/hooks/useStripe.js +1 -1
- package/lib/commonjs/hooks/useStripe.js.map +1 -1
- package/lib/commonjs/types/Card.js.map +1 -1
- package/lib/commonjs/types/NextAction.js +2 -0
- package/lib/commonjs/types/NextAction.js.map +1 -0
- package/lib/commonjs/types/PaymentIntents.js.map +1 -1
- package/lib/commonjs/types/PaymentMethods.js.map +1 -1
- package/lib/commonjs/types/SetupIntent.js.map +1 -1
- package/lib/commonjs/types/index.js.map +1 -1
- package/lib/module/NativeStripeSdk.js.map +1 -1
- package/lib/module/components/StripeProvider.js +1 -1
- package/lib/module/components/StripeProvider.js.map +1 -1
- package/lib/module/functions.js +1 -1
- package/lib/module/functions.js.map +1 -1
- package/lib/module/hooks/useStripe.js +1 -1
- package/lib/module/hooks/useStripe.js.map +1 -1
- package/lib/module/types/Card.js.map +1 -1
- package/lib/module/types/NextAction.js +2 -0
- package/lib/module/types/NextAction.js.map +1 -0
- package/lib/module/types/PaymentIntents.js.map +1 -1
- package/lib/module/types/PaymentMethods.js.map +1 -1
- package/lib/module/types/SetupIntent.js.map +1 -1
- package/lib/module/types/index.js.map +1 -1
- package/lib/typescript/e2e/helpers.d.ts +1 -0
- package/lib/typescript/e2e/screenObject/BasicPaymentScreen.d.ts +1 -0
- package/lib/typescript/e2e/screenObject/HomeScreen.d.ts +1 -1
- package/lib/typescript/example/src/App.d.ts +2 -0
- package/lib/typescript/example/src/screens/ACHPaymentScreen.d.ts +1 -0
- package/lib/typescript/example/src/screens/ACHSetupScreen.d.ts +1 -0
- package/lib/typescript/src/NativeStripeSdk.d.ts +4 -2
- package/lib/typescript/src/components/StripeProvider.d.ts +4 -10
- package/lib/typescript/src/functions.d.ts +10 -2
- package/lib/typescript/src/hooks/useStripe.d.ts +7 -2
- package/lib/typescript/src/types/Card.d.ts +1 -0
- package/lib/typescript/src/types/NextAction.d.ts +32 -0
- package/lib/typescript/src/types/PaymentIntents.d.ts +2 -0
- package/lib/typescript/src/types/PaymentMethods.d.ts +28 -2
- package/lib/typescript/src/types/SetupIntent.d.ts +4 -2
- package/lib/typescript/src/types/index.d.ts +23 -4
- package/package.json +4 -4
- package/src/NativeStripeSdk.tsx +15 -3
- package/src/components/StripeProvider.tsx +7 -15
- package/src/functions.ts +174 -3
- package/src/hooks/useStripe.tsx +57 -6
- package/src/types/Card.ts +1 -0
- package/src/types/NextAction.ts +44 -0
- package/src/types/PaymentIntents.ts +2 -0
- package/src/types/PaymentMethods.ts +31 -2
- package/src/types/SetupIntent.ts +9 -2
- package/src/types/index.ts +32 -4
- package/stripe-react-native.podspec +3 -2
- package/android/build/.transforms/c731e6bf5b480f659bf1c341f3f0657c/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/e9391f6bbf8da46ff748ca7feadbce73/transformed/classes/classes.dex +0 -0
- package/android/build/.transforms/f0b2868ed2d4a4bb73b1ace98fe4ccfa/transformed/classes/classes.dex +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.s +0 -1
- package/android/build/tmp/compileDebugJavaWithJavac/source-classes-mapping.txt +0 -10
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/ConstantsKt.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/NextPaymentActionErrorType.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetFragment$configureFlowController$onFlowControllerConfigure$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetFragment$onViewCreated$paymentOptionCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/PaymentSheetFragment$onViewCreated$paymentResultCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$5.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardView$setListeners$6.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$googlePayReceiver$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$3$WhenMappings.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mActivityEventListener$1$onActivityResult$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$mPaymentSheetReceiver$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkModule$payWithWeChatPay$1.class +0 -0
package/src/hooks/useStripe.tsx
CHANGED
|
@@ -6,7 +6,7 @@ import type {
|
|
|
6
6
|
RetrievePaymentIntentResult,
|
|
7
7
|
RetrieveSetupIntentResult,
|
|
8
8
|
ConfirmPaymentResult,
|
|
9
|
-
|
|
9
|
+
HandleNextActionResult,
|
|
10
10
|
ConfirmSetupIntentResult,
|
|
11
11
|
CreateTokenForCVCUpdateResult,
|
|
12
12
|
ApplePayResult,
|
|
@@ -23,6 +23,8 @@ import type {
|
|
|
23
23
|
CreateGooglePayPaymentMethodResult,
|
|
24
24
|
OpenApplePaySetupResult,
|
|
25
25
|
CreateTokenParams,
|
|
26
|
+
VerifyMicrodepositsParams,
|
|
27
|
+
CollectBankAccountParams,
|
|
26
28
|
} from '../types';
|
|
27
29
|
import { useCallback, useEffect, useState } from 'react';
|
|
28
30
|
import { isiOS } from '../helpers';
|
|
@@ -35,7 +37,7 @@ import {
|
|
|
35
37
|
confirmApplePayPayment,
|
|
36
38
|
confirmSetupIntent,
|
|
37
39
|
createTokenForCVCUpdate,
|
|
38
|
-
|
|
40
|
+
handleNextAction,
|
|
39
41
|
handleURLCallback,
|
|
40
42
|
presentApplePay,
|
|
41
43
|
updateApplePaySummaryItems,
|
|
@@ -48,6 +50,10 @@ import {
|
|
|
48
50
|
createGooglePayPaymentMethod,
|
|
49
51
|
presentGooglePay,
|
|
50
52
|
openApplePaySetup,
|
|
53
|
+
collectBankAccountForPayment,
|
|
54
|
+
collectBankAccountForSetup,
|
|
55
|
+
verifyMicrodepositsForPayment,
|
|
56
|
+
verifyMicrodepositsForSetup,
|
|
51
57
|
} from '../functions';
|
|
52
58
|
|
|
53
59
|
/**
|
|
@@ -139,11 +145,11 @@ export function useStripe() {
|
|
|
139
145
|
[]
|
|
140
146
|
);
|
|
141
147
|
|
|
142
|
-
const
|
|
148
|
+
const _handleNextAction = useCallback(
|
|
143
149
|
async (
|
|
144
150
|
paymentIntentClientSecret: string
|
|
145
|
-
): Promise<
|
|
146
|
-
return
|
|
151
|
+
): Promise<HandleNextActionResult> => {
|
|
152
|
+
return handleNextAction(paymentIntentClientSecret);
|
|
147
153
|
},
|
|
148
154
|
[]
|
|
149
155
|
);
|
|
@@ -229,12 +235,53 @@ export function useStripe() {
|
|
|
229
235
|
return openApplePaySetup();
|
|
230
236
|
}, []);
|
|
231
237
|
|
|
238
|
+
const _collectBankAccountForPayment = useCallback(
|
|
239
|
+
async (
|
|
240
|
+
clientSecret: string,
|
|
241
|
+
params: CollectBankAccountParams
|
|
242
|
+
): Promise<ConfirmPaymentResult> => {
|
|
243
|
+
return collectBankAccountForPayment(clientSecret, params);
|
|
244
|
+
},
|
|
245
|
+
[]
|
|
246
|
+
);
|
|
247
|
+
|
|
248
|
+
const _collectBankAccountForSetup = useCallback(
|
|
249
|
+
async (
|
|
250
|
+
clientSecret: string,
|
|
251
|
+
params: CollectBankAccountParams
|
|
252
|
+
): Promise<ConfirmSetupIntentResult> => {
|
|
253
|
+
return collectBankAccountForSetup(clientSecret, params);
|
|
254
|
+
},
|
|
255
|
+
[]
|
|
256
|
+
);
|
|
257
|
+
|
|
258
|
+
const _verifyMicrodepositsForPayment = useCallback(
|
|
259
|
+
async (
|
|
260
|
+
clientSecret: string,
|
|
261
|
+
params: VerifyMicrodepositsParams
|
|
262
|
+
): Promise<ConfirmPaymentResult> => {
|
|
263
|
+
return verifyMicrodepositsForPayment(clientSecret, params);
|
|
264
|
+
},
|
|
265
|
+
[]
|
|
266
|
+
);
|
|
267
|
+
|
|
268
|
+
const _verifyMicrodepositsForSetup = useCallback(
|
|
269
|
+
async (
|
|
270
|
+
clientSecret: string,
|
|
271
|
+
params: VerifyMicrodepositsParams
|
|
272
|
+
): Promise<ConfirmSetupIntentResult> => {
|
|
273
|
+
return verifyMicrodepositsForSetup(clientSecret, params);
|
|
274
|
+
},
|
|
275
|
+
[]
|
|
276
|
+
);
|
|
277
|
+
|
|
232
278
|
return {
|
|
233
279
|
retrievePaymentIntent: _retrievePaymentIntent,
|
|
234
280
|
retrieveSetupIntent: _retrieveSetupIntent,
|
|
235
281
|
confirmPayment: _confirmPayment,
|
|
236
282
|
createPaymentMethod: _createPaymentMethod,
|
|
237
|
-
|
|
283
|
+
handleNextAction: _handleNextAction,
|
|
284
|
+
handleCardAction: _handleNextAction,
|
|
238
285
|
isApplePaySupported: isApplePaySupported,
|
|
239
286
|
presentApplePay: _presentApplePay,
|
|
240
287
|
confirmApplePayPayment: _confirmApplePayPayment,
|
|
@@ -251,5 +298,9 @@ export function useStripe() {
|
|
|
251
298
|
presentGooglePay: _presentGooglePay,
|
|
252
299
|
createGooglePayPaymentMethod: _createGooglePayPaymentMethod,
|
|
253
300
|
openApplePaySetup: _openApplePaySetup,
|
|
301
|
+
collectBankAccountForPayment: _collectBankAccountForPayment,
|
|
302
|
+
collectBankAccountForSetup: _collectBankAccountForSetup,
|
|
303
|
+
verifyMicrodepositsForPayment: _verifyMicrodepositsForPayment,
|
|
304
|
+
verifyMicrodepositsForSetup: _verifyMicrodepositsForSetup,
|
|
254
305
|
};
|
|
255
306
|
}
|
package/src/types/Card.ts
CHANGED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type NextAction =
|
|
2
|
+
| VerifyWithMicrodepositsAction
|
|
3
|
+
| UrlRedirectAction
|
|
4
|
+
| WeChatRedirectAction
|
|
5
|
+
| AlipayRedirectAction
|
|
6
|
+
| BoletoVoucherAction
|
|
7
|
+
| OxxoVoucherAction;
|
|
8
|
+
|
|
9
|
+
export type VerifyWithMicrodepositsAction = {
|
|
10
|
+
type: 'verifyWithMicrodeposits';
|
|
11
|
+
redirectUrl: string;
|
|
12
|
+
microdepositType: string;
|
|
13
|
+
arrivalDate: string;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export type UrlRedirectAction = {
|
|
17
|
+
type: 'urlRedirect';
|
|
18
|
+
redirectUrl: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export type WeChatRedirectAction = {
|
|
22
|
+
type: 'weChatRedirect';
|
|
23
|
+
redirectUrl: string;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export type AlipayRedirectAction = {
|
|
27
|
+
type: 'alipayRedirect';
|
|
28
|
+
redirectUrl: string;
|
|
29
|
+
nativeRedirectUrl: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export type BoletoVoucherAction = {
|
|
33
|
+
type: 'boletoVoucher';
|
|
34
|
+
expiration: number;
|
|
35
|
+
voucherURL: string;
|
|
36
|
+
voucherNumber: string;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export type OxxoVoucherAction = {
|
|
40
|
+
type: 'oxxoVoucher';
|
|
41
|
+
expiration: number;
|
|
42
|
+
voucherURL: string;
|
|
43
|
+
voucherNumber: string;
|
|
44
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Nullable, StripeError } from '.';
|
|
2
|
+
import type { NextAction } from './NextAction';
|
|
2
3
|
import type { PaymentMethod } from './PaymentMethods';
|
|
3
4
|
|
|
4
5
|
export interface PaymentIntent {
|
|
@@ -17,6 +18,7 @@ export interface PaymentIntent {
|
|
|
17
18
|
confirmationMethod: 'Automatic' | 'Manual';
|
|
18
19
|
lastPaymentError: Nullable<PaymentIntents.LastPaymentError>;
|
|
19
20
|
shipping: Nullable<PaymentIntents.ShippingDetails>;
|
|
21
|
+
nextAction: NextAction | null;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
export namespace PaymentIntents {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AuBECSDebitFormComponent } from './components/AuBECSDebitForm';
|
|
2
2
|
import type { Card } from './Card';
|
|
3
3
|
import type { PaymentIntents } from './PaymentIntents';
|
|
4
|
-
|
|
4
|
+
import type { BankAcccountHolderType, BankAcccountType } from './index';
|
|
5
5
|
export interface PaymentMethod {
|
|
6
6
|
id: string;
|
|
7
7
|
liveMode: boolean;
|
|
@@ -35,7 +35,8 @@ export namespace PaymentMethodCreateParams {
|
|
|
35
35
|
| AfterpayClearpayParams
|
|
36
36
|
| KlarnaParams
|
|
37
37
|
// | WeChatPayParams
|
|
38
|
-
| BancontactParams
|
|
38
|
+
| BancontactParams
|
|
39
|
+
| USBankAccountParams;
|
|
39
40
|
|
|
40
41
|
export type BillingDetails = {
|
|
41
42
|
email?: string;
|
|
@@ -148,6 +149,21 @@ export namespace PaymentMethodCreateParams {
|
|
|
148
149
|
type: 'AuBecsDebit';
|
|
149
150
|
formDetails: AuBECSDebitFormComponent.FormDetails;
|
|
150
151
|
}
|
|
152
|
+
|
|
153
|
+
/** Before using this payment method type, ensure you have already collected the bank information
|
|
154
|
+
* for this intent with `collectBankAccountForPayment`. Otherwise, you will need to pass in the bank account
|
|
155
|
+
* details manually.*/
|
|
156
|
+
export type USBankAccountParams = {
|
|
157
|
+
type: 'USBankAccount';
|
|
158
|
+
billingDetails?: Pick<Required<BillingDetails>, 'name'> & BillingDetails;
|
|
159
|
+
accountNumber?: string;
|
|
160
|
+
routingNumber?: string;
|
|
161
|
+
/** Defaults to Individual */
|
|
162
|
+
accountHolderType?: BankAcccountHolderType;
|
|
163
|
+
/** Defaults to Checking */
|
|
164
|
+
accountType?: BankAcccountType;
|
|
165
|
+
setupFutureUsage?: PaymentIntents.FutureUsage;
|
|
166
|
+
};
|
|
151
167
|
}
|
|
152
168
|
|
|
153
169
|
export declare namespace PaymentMethods {
|
|
@@ -213,6 +229,18 @@ export declare namespace PaymentMethods {
|
|
|
213
229
|
vpa?: string;
|
|
214
230
|
}
|
|
215
231
|
|
|
232
|
+
export type USBankAccount = {
|
|
233
|
+
routingNumber?: string;
|
|
234
|
+
accountHolderType?: BankAcccountHolderType;
|
|
235
|
+
accountType?: BankAcccountType;
|
|
236
|
+
last4?: string;
|
|
237
|
+
bankName?: string;
|
|
238
|
+
linkedAccount?: string;
|
|
239
|
+
fingerprint?: string;
|
|
240
|
+
preferredNetwork?: string;
|
|
241
|
+
supportedNetworks?: string[];
|
|
242
|
+
};
|
|
243
|
+
|
|
216
244
|
export type Types =
|
|
217
245
|
| 'AfterpayClearpay'
|
|
218
246
|
| 'Card'
|
|
@@ -231,5 +259,6 @@ export declare namespace PaymentMethods {
|
|
|
231
259
|
| 'Oxxo'
|
|
232
260
|
| 'Sofort'
|
|
233
261
|
| 'Upi'
|
|
262
|
+
| 'USBankAccount'
|
|
234
263
|
| 'Unknown';
|
|
235
264
|
}
|
package/src/types/SetupIntent.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { Nullable, StripeError } from '.';
|
|
2
2
|
import type { AuBECSDebitFormComponent } from './components/AuBECSDebitForm';
|
|
3
|
-
import type {
|
|
3
|
+
import type { NextAction } from './NextAction';
|
|
4
|
+
import type {
|
|
5
|
+
PaymentMethod,
|
|
6
|
+
PaymentMethods,
|
|
7
|
+
PaymentMethodCreateParams,
|
|
8
|
+
} from './PaymentMethods';
|
|
4
9
|
|
|
5
10
|
export interface SetupIntent {
|
|
6
11
|
id: string;
|
|
@@ -13,6 +18,7 @@ export interface SetupIntent {
|
|
|
13
18
|
paymentMethodTypes: PaymentMethods.Types[];
|
|
14
19
|
usage: SetupIntents.FutureUsage;
|
|
15
20
|
description: Nullable<string>;
|
|
21
|
+
nextAction: NextAction | null;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
export namespace ConfirmSetupIntent {
|
|
@@ -26,7 +32,8 @@ export namespace ConfirmSetupIntent {
|
|
|
26
32
|
| BancontactParams
|
|
27
33
|
| SofortParams
|
|
28
34
|
| AuBecsDebitParams
|
|
29
|
-
| SepaParams
|
|
35
|
+
| SepaParams
|
|
36
|
+
| PaymentMethodCreateParams.USBankAccountParams;
|
|
30
37
|
|
|
31
38
|
export interface Options {}
|
|
32
39
|
|
package/src/types/index.ts
CHANGED
|
@@ -13,7 +13,10 @@ import type {
|
|
|
13
13
|
StripeError,
|
|
14
14
|
} from './Errors';
|
|
15
15
|
import type { PaymentIntent } from './PaymentIntents';
|
|
16
|
-
import type {
|
|
16
|
+
import type {
|
|
17
|
+
PaymentMethod,
|
|
18
|
+
PaymentMethodCreateParams,
|
|
19
|
+
} from './PaymentMethods';
|
|
17
20
|
import type { PaymentSheet } from './PaymentSheet';
|
|
18
21
|
import type { SetupIntent } from './SetupIntent';
|
|
19
22
|
import type { ThreeDSecureConfigurationParams } from './ThreeDSecure';
|
|
@@ -91,7 +94,7 @@ export type ConfirmPaymentResult =
|
|
|
91
94
|
error: StripeError<ConfirmPaymentError>;
|
|
92
95
|
};
|
|
93
96
|
|
|
94
|
-
export type
|
|
97
|
+
export type HandleNextActionResult =
|
|
95
98
|
| {
|
|
96
99
|
paymentIntent: PaymentIntent;
|
|
97
100
|
error?: undefined;
|
|
@@ -171,10 +174,14 @@ export type ApplePayResult =
|
|
|
171
174
|
|
|
172
175
|
export interface InitStripeParams {
|
|
173
176
|
publishableKey: string;
|
|
174
|
-
stripeAccountId?: string;
|
|
175
|
-
threeDSecureParams?: ThreeDSecureConfigurationParams;
|
|
176
177
|
merchantIdentifier?: string;
|
|
178
|
+
threeDSecureParams?: ThreeDSecureConfigurationParams;
|
|
179
|
+
stripeAccountId?: string;
|
|
177
180
|
urlScheme?: string;
|
|
181
|
+
setReturnUrlSchemeOnAndroid?: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* @deprecated Use setReturnUrlSchemeOnAndroid instead
|
|
184
|
+
*/
|
|
178
185
|
setUrlSchemeOnAndroid?: boolean;
|
|
179
186
|
}
|
|
180
187
|
|
|
@@ -224,10 +231,13 @@ export type CreateTokenCardParams = {
|
|
|
224
231
|
type: 'Card';
|
|
225
232
|
address?: Card.Address;
|
|
226
233
|
name?: string;
|
|
234
|
+
currency?: string;
|
|
227
235
|
};
|
|
228
236
|
|
|
229
237
|
export type BankAcccountHolderType = 'Company' | 'Individual';
|
|
230
238
|
|
|
239
|
+
export type BankAcccountType = 'Checking' | 'Savings';
|
|
240
|
+
|
|
231
241
|
export type CreateTokenBankAccountParams = {
|
|
232
242
|
type: 'BankAccount';
|
|
233
243
|
accountHolderName?: string;
|
|
@@ -237,3 +247,21 @@ export type CreateTokenBankAccountParams = {
|
|
|
237
247
|
currency: string;
|
|
238
248
|
routingNumber?: string;
|
|
239
249
|
};
|
|
250
|
+
|
|
251
|
+
export type VerifyMicrodepositsParams =
|
|
252
|
+
| {
|
|
253
|
+
amounts: number[];
|
|
254
|
+
descriptorCode?: undefined;
|
|
255
|
+
}
|
|
256
|
+
| {
|
|
257
|
+
amounts?: undefined;
|
|
258
|
+
descriptorCode: string;
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
export type CollectBankAccountParams =
|
|
262
|
+
PaymentMethodCreateParams.USBankAccountParams & {
|
|
263
|
+
billingDetails: {
|
|
264
|
+
name: string;
|
|
265
|
+
email?: string;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
@@ -10,11 +10,12 @@ Pod::Spec.new do |s|
|
|
|
10
10
|
s.license = package['license']
|
|
11
11
|
s.authors = package['author']
|
|
12
12
|
|
|
13
|
-
s.platforms = { ios: '
|
|
13
|
+
s.platforms = { ios: '12.0' }
|
|
14
14
|
s.source = { git: 'https://github.com/stripe/stripe-react-native.git', tag: s.version.to_s }
|
|
15
15
|
|
|
16
16
|
s.source_files = 'ios/**/*.{h,m,mm,swift}'
|
|
17
17
|
|
|
18
18
|
s.dependency 'React-Core'
|
|
19
|
-
s.dependency 'Stripe', '~>
|
|
19
|
+
s.dependency 'Stripe', '~> 22.0.0'
|
|
20
|
+
s.dependency 'StripeConnections', '~> 22.0.0'
|
|
20
21
|
end
|
package/android/build/.transforms/c731e6bf5b480f659bf1c341f3f0657c/transformed/classes/classes.dex
DELETED
|
Binary file
|
package/android/build/.transforms/e9391f6bbf8da46ff748ca7feadbce73/transformed/classes/classes.dex
DELETED
|
Binary file
|
package/android/build/.transforms/f0b2868ed2d4a4bb73b1ace98fe4ccfa/transformed/classes/classes.dex
DELETED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values
DELETED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.s
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
��������������
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
com/reactnativestripesdk/databinding/PayWithGooglepayButtonBinding.java
|
|
2
|
-
com.reactnativestripesdk.databinding.PayWithGooglepayButtonBinding
|
|
3
|
-
com/reactnativestripesdk/databinding/PayWithGooglepayButtonNoShadowBinding.java
|
|
4
|
-
com.reactnativestripesdk.databinding.PayWithGooglepayButtonNoShadowBinding
|
|
5
|
-
com/reactnativestripesdk/databinding/GooglepayButtonBinding.java
|
|
6
|
-
com.reactnativestripesdk.databinding.GooglepayButtonBinding
|
|
7
|
-
com/reactnativestripesdk/databinding/GooglepayButtonNoShadowBinding.java
|
|
8
|
-
com.reactnativestripesdk.databinding.GooglepayButtonNoShadowBinding
|
|
9
|
-
com/reactnativestripesdk/BuildConfig.java
|
|
10
|
-
com.reactnativestripesdk.BuildConfig
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/reactnativestripesdk/StripeSdkCardView.class
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|