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

Fix crash when removing payment method #5048

Merged
merged 1 commit into from
May 23, 2022

Conversation

jameswoo-stripe
Copy link
Contributor

Summary

Fix an issue where PaymentSheet would crash when deleting a payment method in the custom flow editor.

This was happening because the position of the payment method was not being updated properly.

Motivation

Fixes #5043

Testing

  • Added tests
  • Modified tests
  • Manually verified

Changelog

  • [Fixed] Fixed an issue where PaymentSheet would crash when deleting a payment method in the custom flow editor

@jameswoo-stripe jameswoo-stripe merged commit 0f982a0 into master May 23, 2022
@jameswoo-stripe jameswoo-stripe deleted the jameswoo/fix-remove-payment-method-crash branch May 23, 2022 17:47
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.

[Fatal Exception: java.lang.IndexOutOfBoundsException Index: 2, Size: 2]
3 participants