Implement PaymentMethodCreateParams.createTwint() function#12253
Merged
samer-stripe merged 2 commits intomasterfrom Jan 21, 2026
Merged
Implement PaymentMethodCreateParams.createTwint() function#12253samer-stripe merged 2 commits intomasterfrom
PaymentMethodCreateParams.createTwint() function#12253samer-stripe merged 2 commits intomasterfrom
Conversation
Adding `createTwint()` function inside `PaymentMethodCreateParams`, allowing the payment provider to be confirmed by the Android app using `PaymentLauncher.confirm()`. Test and example classes were created to cover this new implementation.
971f1cb to
2aa5b16
Compare
PaymentMethodCreateParams.createTwint() function
Contributor
|
Diffuse output: APKDEX |
Contributor
|
Thanks for prioritizing this PR and handling the additional changes. I really appreciate it. |
tjclawson-stripe
approved these changes
Jan 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pulled internally from #12247 by @igorescodro
Adding
createTwint()function insidePaymentMethodCreateParams, allowing the payment provider to be confirmed by the Android app usingPaymentLauncher.confirm(). Test and example classes were created to cover this new implementation.Motivation
In the current Android SDK, it's not possible to use
ConfirmPaymentIntentParamswith TWINT, like with other payment methods such as PayPal, CashApp, NolPay, etc. We discussed with the Stripe Support and they informed us that there is no support yet. The goal of this PR is to speed up the inclusion of this new functionality.Trying to create it with the existing APIs, will result in a
StripeError.This new API, allows to use TWINT:
Testing
Changelog
PaymentMethodCreateParams.createTwint()function.