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

Overload PaymentSession#presentPaymentMethodSelection to require postal code #1001

Merged
merged 2 commits into from
May 28, 2019

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

  • PaymentSession#presentPaymentMethodSelection() will not require postal code
    for the added payment method (existing behavior)

  • PaymentSession#presentPaymentMethodSelection(true) will require postal code
    for the added payment method

If true, require postal field when adding a payment method

Motivation

Inspired by #845

Testing

Added unit tests

…al field

- `PaymentSession#presentPaymentMethodSelection()` will not require postal code
  for the added payment method (existing behavior)

- `PaymentSession#presentPaymentMethodSelection(true)` will require postal code
  for the added payment method

If true, require postal field when adding a payment method
@mshafrir-stripe mshafrir-stripe merged commit b9ec651 into master May 28, 2019
@mshafrir-stripe mshafrir-stripe deleted the require-postal branch May 28, 2019 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants