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: Unset previous default payment methods when adding a new one using FakeProcessor #1004

Merged

Conversation

f19ps
Copy link
Contributor

@f19ps f19ps commented Jun 11, 2024

Pull Request

Summary:
When using FakeProcessor, adding a new default payment method does not unset the previous default payment methods, causing the payment_processor.default_payment_method method to return an outdated default payment method.

@excid3
Copy link
Collaborator

excid3 commented Jun 11, 2024

Looks good to me. 👍

@excid3 excid3 merged commit 9982ef8 into pay-rails:main Jun 11, 2024
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

2 participants