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 Card.create() #2677

Merged
merged 1 commit into from
Aug 3, 2020
Merged

Deprecate Card.create() #2677

merged 1 commit into from
Aug 3, 2020

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

Use CardParams instead of Card in tests where relevant

Testing

Update tests

Use `CardParams` instead of `Card` in tests where relevant
@mshafrir-stripe mshafrir-stripe merged commit a158f53 into master Aug 3, 2020
@mshafrir-stripe mshafrir-stripe deleted the card-params-cleanup branch August 3, 2020 19:14
@ghost
Copy link

ghost commented Aug 14, 2020

@mshafrir-stripe
How can I create "PaymentMethodCreateParams" using "CardParams()"?
I found nothing in the documentation and the "PaymentMethodCreateParams.create(CardParams())" method does not exist.

@mshafrir-stripe
Copy link
Collaborator Author

@Greelings thanks for catching this. #2717 adds a method to support your use case and will be available in the next release.

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

3 participants