Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate ConfirmPaymentIntentParams extraParams parameter #3635

Merged
merged 6 commits into from
Apr 28, 2021

Conversation

mshafrir-stripe
Copy link
Collaborator

@mshafrir-stripe mshafrir-stripe commented Apr 26, 2021

extraParams were previously used to set setupFutureUsage. [0]

We now have a setupFutureUsage property, so there's no use for this
property.

Add overloaded "create" methods without an extraParams property and
mark the variant with the property as deprecated.

[0] https://stripe.com/docs/payments/save-during-payment?platform=android#android-submit-payment

`extraParams` were previously used to set `setupFutureUsage`. [0]

We now have a `setupFutureUsage` property, so there's no use for this
property.

Add overloaded "create" methods without an `extraParams` property and
mark the variant with the property as deprecated.

[0] https://stripe.com/docs/payments/save-during-payment?platform=android#android-submit-payment
@mshafrir-stripe mshafrir-stripe merged commit 315d70b into master Apr 28, 2021
@mshafrir-stripe mshafrir-stripe deleted the deprecate-extra-params branch April 28, 2021 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants