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

Make Payment#gateway_order_id public #3583

Merged
merged 1 commit into from
Apr 15, 2020

Conversation

spaghetticode
Copy link
Member

This method, although in Solidus codebase is currently called only by the class that defines it, can be useful in other scenarios (for example when one wants to use it outside the standard Solidus payment creation flow) so it should be public.

Also, it represents information that is not consumed only inside the Spree::Payment model, but ends up stored externally on the payment provider backend.

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have updated Guides and README accordingly to this change (if needed)
  • I have added tests to cover this change (if needed)
  • I have attached screenshots to this PR for visual changes (if needed)

This method, although in Solidus codebase is currently called only by the
class that defines it, can be useful in other scenarios (for example when
one wants to use it outside the standard Solidus payment creation flow)
so it should be public.

Also, it represents information that is not consumed only inside the
Spree::Payment model, but ends up stored externally on the payment
provider backend.
@spaghetticode spaghetticode self-assigned this Apr 9, 2020
@aldesantis aldesantis merged commit bb534a7 into solidusio:master Apr 15, 2020
@aldesantis aldesantis deleted the spaghetticode/gateway_order_id branch April 15, 2020 15:25
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