magento2
magento2 copied to clipboard
Transaction parent-child relationship inconsistent from summary table from details view.
Preconditions and environment
- Magento version 2.4.8
- Setup a payment that can do Auth and Capture,
Steps to reproduce
- In Frontend, create an order and make payment with Auth transaction
- In Admin > Sales > Orders, select the order from step 1 > Invoice (tab) > Capture Online [ Submit Invoice]
- Go to Transactions left menu - display the summary table of transaction
- Click one of the transaction to see the details.
Expected result
Under the detail view of the parent transaction "Auth" should have a "Child Transaction" that point to the "Capture" transaction.
Actual result
Under the detail view of the parent transaction "Auth" has a "Child Transaction" that point to the "Auth" itself.
Additional information
- Magento version 2.4.8
The transaction issue is related to parent - child relationship. Noticed that in the transaction table summary it shows the correct relationship but when viewing the transaction details (clicking the Auth row which is the parent), the child transaction is referring to its own.
I attached my investigation and showed where the possible wrong assignment exist
mage248-txn-parent-child-rel-issue.pdf
Release note
No response
Triage and priority
- [x] Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- [ ] Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- [ ] Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- [ ] Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- [ ] Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Hi @archerv1976. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce.
- For more details, review the Magento Contributor Assistant documentation.
- Add a comment to assign the issue:
@magento I am working on this - To learn more about issue processing workflow, refer to the Code Contributions.
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting. :clock10: You can find the schedule on the Magento Community Calendar page. :telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.
Hi @engcom-November. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
- [ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
- [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
- [ ] 3. Add
Area: XXXXXlabel to the ticket, indicating the functional areas it may be related to. - [ ] 4. Verify that the issue is reproducible on
2.4-developbranchDetails
- If the issue is reproducible on2.4-developbranch, please, add the labelReproduced on 2.4.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here! - [ ] 5. Add label
Issue: Confirmedonce verification is complete. - [ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
Hello @archerv1976 ,
Thank you for your report and collaboration.
Could you please confirm if you are experiencing issues with any other payments as well?
Hence we marking this issue as "Needs Update"
Thank you!
Hi @engcom-November,
Confirmed that when using Stripe the problem still exist. Screenshot below:
clicking the ID 231 (auth)
- The child transaction is referring to itself, the expected is ID 232
clicking the ID 232 (capture)
- no child exist, the expected is ID 233
again, summary shows exactly the correct one but the details has problem.
I am confident that this issue is inside magento 2.4.8, I pointed out the source of the problem as I submitted this issue, all payments are affected with this problem.
Hello @archerv1976 ,
Thank you for your confirmation.
Based on our analysis, this issue appears to be related to the Stripe payment module. We recommend reaching out to the Stripe support team for further assistance.
As a result, we will proceed with closing this issue for now. Please don’t hesitate to reach out if you encounter any other issues or need further support.
Thank you once again!
Hi @engcom-November,
The response I sent to you is about your request to replicate using different payment gateway and so I used stripe to test if this happen too.
This problem impacts all different payment gateways in our testing.
As you notice I investigated the issue and provided you the details of where is the issue coming from. Please check the PDF I attached when I issue the bug.
This is magento code:
The "authorization" cannot have the same parent ID of its own.
Please reopen this issue.
Cheers,
Archer
Hello @archerv1976 ,
Thank you for your report and collaboration.
We attempted to reproduce the reported issue on the 2.4.8 instance by installing the Stripe payment method. However, we were unable to replicate the issue. For your reference, please find the attached screenshot.
Steps we followed:
- On the frontend, created an order and completed payment using an Auth transaction.
- In the Admin panel:
- Navigated to Sales > Orders,
- Selected the order from Step 1,
- Opened the Invoice tab and clicked Capture Online [Submit Invoice].
- Navigated to Transactions from the left menu to view the transaction summary table.
- Clicked on a transaction to view its details.
Based on our findings, we are marking this issue as "Needs Update".
Thank you once again!
Hi @engcom-November,
Thank you for your feedback and investigation.
From your screenshot you just replicated the issue.
If you look at your 2nd screenshot under Child Transactions you will see the problem. As I mentioned and pointed out in my previous description.
Taken from my screenshot
Taken from your screenshot
The expected child should be the "Capture" and not "Auth" itself.
Thank you, Archer
Hello @archerv1976 ,
Thank you for your report and collaboration.
We attempted to reproduce the reported issue on the 2.4.8 instance by installing the Stripe payment method. The issue is able to replicate in 2.4.8 instance and here is the attached screenshot for the reference.
Steps we followed:
- On the frontend, created an order and completed payment using an Auth transaction.
- In the Admin panel:
- Navigated to Sales > Orders,
- Selected the order from Step 1,
- Opened the Invoice tab and clicked Capture Online [Submit Invoice].
- Navigated to Transactions from the left menu to view the transaction summary table.
- Clicked on a transaction to view its details.
Hence marking this issue as "Issue:Confirmed"
Thank You!
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-15167 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-November. Thank you for verifying the issue.
Issue Available: @engcom-November, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
@magento I am working on this
Hi @verity1886! :wave:
Thank you for collaboration. Only members of Community Contributors Team are allowed to be assigned to the issue. Please use @magento add to contributors team command to join Contributors team.
@magento add to contributors team
Hi @verity1886! :wave: Thank you for joining. Please accept team invitation :point_right: here :point_left: and add your comment one more time.
@magento I am working on this