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

Raise canceling a payment when try_void is not implemented #3844

Merged

Conversation

kennyadsl
Copy link
Member

Description

The previous (deprecated) behavior was still calling cancel without trying to void the payment first.
The actual raise will be handled in Spree::PaymentMethod since it's already present in that class.

Note: This is part of #3816, but since it's not trivial I'd like to have a more accurate review from the core team, especially from @tvdeyen. 🙏

@kennyadsl kennyadsl added this to the 3.0.0 milestone Nov 17, 2020
@kennyadsl kennyadsl self-assigned this Nov 17, 2020
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Thanks! 🙏

Copy link
Member

@jarednorman jarednorman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Typo in the commit message though s/prevoius/previous/.

The previous (deprecated) behavior was still calling cancel
without trying to void the payment first.

The actual raise will be handled in Spree::PaymentMethod since
it's already present in that class.
@kennyadsl kennyadsl force-pushed the kennyadsl/use-try-void-in-payment-cancel branch from bdadfb3 to 8cc77f4 Compare November 18, 2020 16:15
@kennyadsl kennyadsl merged commit f37386e into solidusio:master Nov 18, 2020
@kennyadsl kennyadsl deleted the kennyadsl/use-try-void-in-payment-cancel branch November 18, 2020 16: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.

3 participants