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

PT-850: Pending in Plugins for SW6 #58

Merged
merged 5 commits into from
Jan 24, 2024
Merged

PT-850: Pending in Plugins for SW6 #58

merged 5 commits into from
Jan 24, 2024

Conversation

ivan-pugach-mondu
Copy link
Contributor

@ivan-pugach-mondu ivan-pugach-mondu commented Jan 15, 2024

Description

This PR aims to improve the order process and assign the proper status on the Shopware side when the payment goes through the pending flow

Release: p
Tickets: PT-850

Fixes # (issue)
https://mondu.atlassian.net/browse/PT-850

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have checked my code and corrected any misspellings

@ivan-pugach-mondu ivan-pugach-mondu added the enhancement New feature or request label Jan 15, 2024
@ivan-pugach-mondu ivan-pugach-mondu self-assigned this Jan 15, 2024
Yaroslavzev
Yaroslavzev previously approved these changes Jan 15, 2024
Copy link
Member

@Yaroslavzev Yaroslavzev left a comment

Choose a reason for hiding this comment

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

utACK 👍

suggestion(non-blocking): from my prospective it would be nice to have place with conditions and it will help to maintain codebase in the future. This place can be hash, service object which contain mapping between transaction and responce statuses or humane readable method.
For example this two lines

                $confirmResponseState != 'confirmed' &&
                $confirmResponseState != 'pending'

can be moved to method with name orderConfirmed?
Please note that I am fine to leave as it's now.

arthurmmoreira
arthurmmoreira previously approved these changes Jan 15, 2024
Copy link
Member

@arthurmmoreira arthurmmoreira left a comment

Choose a reason for hiding this comment

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

utACK

@ume3119
Copy link
Member

ume3119 commented Jan 15, 2024

@ivan-pugach-mondu @tikohov20 can it be deployed on our stage for testing?

@tikohov20
Copy link
Contributor

tikohov20 commented Jan 16, 2024

@ivan-pugach-mondu @tikohov20 can it be deployed on our stage for testing?

I'll deploy it to the stage shop.

@tikohov20
Copy link
Contributor

tikohov20 commented Jan 16, 2024

Lets update the composer.json file this pr.

tikohov20
tikohov20 previously approved these changes Jan 17, 2024
@tikohov20 tikohov20 merged commit 20c6ad5 into main Jan 24, 2024
@tikohov20 tikohov20 deleted the PT-850 branch January 24, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants