This release adds a prebuilt UI. It combines all the steps required to pay - collecting payment details and confirming the payment - into a single sheet that displays on top of your app. See the guide for more details.
#3663 Add support for using Chrome to host a 3DS1 authentication page when Custom Tabs are not available
#3680 Deprecate returnUrl in some ConfirmPaymentIntentParams create() methods
A custom return_url is not needed to return control to the app after an authentication attempt
#3681 Reset PaymentIntent and SetupIntent status after 3DS1 cancellation in Custom Tabs
When a customer closed a 3DS1 authentication page hosted in Custom Tabs, the Intent's status was not reset
from requires_action to requires_payment_method. This is now fixed.
#3653 Support WeChat Pay for creating a PaymentMethod and confirming a PaymentIntent
WeChat Pay is still in beta. To enable support in API bindings, pass the StripeApiBeta.WeChatPayV1 as an argument when instantiating a Stripe instance.
#3567 Use lifecycleScope where possible in Stripe.kt
When calling payment and setup confirmation methods (e.g. confirmPayment()), using
a ComponentActivity subclass (e.g. AppCompatActivity) will make the call lifecycle-aware.
#3635 Deprecate extraParams in ConfirmPaymentIntentParams
Use setupFutureUsage instead.
// before
ConfirmPaymentIntentParams.createWithPaymentMethodCreateParams(
params,
clientSecret,
extraParams = mapOf("setup_future_usage" to "off_session")
This release adds a prebuilt UI. It combines all the steps required to pay - collecting payment details and confirming the payment - into a single sheet that displays on top of your app. See the guide for more details.
#3663 Add support for using Chrome to host a 3DS1 authentication page when Custom Tabs are not available
#3680 Deprecate returnUrl in some ConfirmPaymentIntentParams create() methods
A custom return_url is not needed to return control to the app after an authentication attempt
#3681 Reset PaymentIntent and SetupIntent status after 3DS1 cancellation in Custom Tabs
When a customer closed a 3DS1 authentication page hosted in Custom Tabs, the Intent's status was not reset
from requires_action to requires_payment_method. This is now fixed.
#3653 Support WeChat Pay for creating a PaymentMethod and confirming a PaymentIntent
WeChat Pay is still in beta. To enable support in API bindings, pass the StripeApiBeta.WeChatPayV1 as an argument when instantiating a Stripe instance.
#3567 Use lifecycleScope where possible in Stripe.kt
When calling payment and setup confirmation methods (e.g. confirmPayment()), using
a ComponentActivity subclass (e.g. AppCompatActivity) will make the call lifecycle-aware.
#3635 Deprecate extraParams in ConfirmPaymentIntentParams
Use setupFutureUsage instead.
// before
ConfirmPaymentIntentParams.createWithPaymentMethodCreateParams(
params,
clientSecret,
extraParams = mapOf("setup_future_usage" to "off_session")
)
// after
ConfirmPaymentIntentParams.createWithPaymentMethodCreateParams(
params,
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps stripe-android from 16.1.0 to 16.9.0.
Release notes
Sourced from stripe-android's releases.
... (truncated)
Changelog
Sourced from stripe-android's changelog.
... (truncated)
Commits
312976d
Bump version to 16.9.069e80c2
Downgrade kotlin from1.5.0
to1.4.32
(#3739)e6934b6
Remove setup intents. (#3749)ce37315
Generalize ConfirmStripeIntentParamsFactory (#3746)d1fa9b3
Fix readme link (#3747)53b1e48
Create changelog for 16.9.0 (#3745)f153ba2
Add Stripe.createRadarSession() API binding (#3737)344f815
[SDK modularization] share deploy script (#3733)dd8186e
Add missing Google Pay Manifest tag to PaymentSheet example app (#3742)a797077
Make PaymentSheet Example App runnable out of the box, add README (#3741)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)