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

Create PaymentMethodCreateParams.createCard() #2717

Merged
merged 2 commits into from
Aug 19, 2020

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

Add PaymentMethodCreateParams.createCard() to create a card payment
method from a CardParams.

Deprecate Card#toPaymentMethodsParams() and
Card#toPaymentMethodParamsCard().

Motivation

Continue migration to CardParams for card creation.

Testing

Unit test

@mshafrir-stripe mshafrir-stripe merged commit 1db3baa into master Aug 19, 2020
@mshafrir-stripe mshafrir-stripe deleted the pm-create-card-params branch August 19, 2020 19:10
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.

4 participants