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

Upgrade to Magento 2.4.7 error in module-payment-services-base #38849

Open
2 of 5 tasks
mahesh-makwana-web-vision opened this issue Jun 20, 2024 · 16 comments
Open
2 of 5 tasks
Labels
Area: Payments Component: Payment Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P1 Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing. Progress: ready for dev Reported on 2.4.7 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch

Comments

@mahesh-makwana-web-vision

Preconditions and environment

  • Magento version: 2.4.7
  • After upgrading from Magento 2.4.6 to 2.4.7 I receive the following error,

Steps to reproduce

Every time I try to access to payment method configuration (Stores -> Configuration -> Sales -> Payment Methods):

Error : {"0":"Warning: Undefined array key "children" in /var/www/vhosts/releases/55/vendor/magento/module-payment-services-base/Plugin/MovePaymentMethods.php on line 66","1":"#1}

Expected result

The page should be visible without any errors.

I found a useful solution at this link: Upgrade to Magento 2.4.7 - Error in Module Payment Services Base.

Is this the correct way to create a patch for it?

Actual result

Page showing Error.
Screenshot 2024-06-20 at 10 41 28

Additional information

No response

Release note

No response

Triage and priority

  • 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”.
Copy link

m2-assistant bot commented Jun 20, 2024

Hi @mahesh-makwana-web-vision. 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. To deploy vanilla Magento instance on our environment, Add a comment to the issue:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 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.

@mahesh-makwana-web-vision
Copy link
Author

@magento I am working on this

Copy link

m2-assistant bot commented Jun 20, 2024

Hi @mahesh-makwana-web-vision! 👋
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.

@mahesh-makwana-web-vision
Copy link
Author

@magento add to contributors team

Copy link

m2-assistant bot commented Jun 20, 2024

Hi @mahesh-makwana-web-vision! 👋
Thank you for joining. Please accept team invitation 👉 here 👈 and add your comment one more time.

@engcom-Bravo engcom-Bravo added the Reported on 2.4.7 Indicates original Magento version for the Issue report. label Jun 20, 2024
@mahesh-makwana-web-vision
Copy link
Author

@magento I am working on this

Copy link

m2-assistant bot commented Jun 20, 2024

Hi @engcom-Dash. 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: 👇

    1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
    1. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
    1. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
    1. Verify that the issue is reproducible on 2.4-develop branch
      Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
      - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced 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!

@OvalMedia
Copy link

As a workaround you can disable the plugin from a custom module.
etc/adminhtml/di.xml:

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Magento\Paypal\Model\Config\Structure\PaymentSectionModifier">
        <plugin name="move_express_checkout_us_to_other_paypal_payment_solutions" disabled="true"/>
    </type>
</config>

@simonmaass
Copy link

we also just upgraded and have the same problem!

@engcom-Dash
Copy link
Contributor

Hi @mahesh-makwana-web-vision

Thanks for reporting and collaboration.

Verified the issue on Magento 2.4 dev instance and the issue is not reproducible.

Steps to reproduce:

  1. Upgrade from Magento 2.4.6 to 2.4.7
  2. try to access to payment method configuration (Stores -> Configuration -> Sales -> Payment Methods)

We are not seeing any errors and are able to access the payment methods

Please refer the screenshots and let us know if we missed anything.

Before upgrading to 2.4.7

38849_1

After upgrading to 2.4.7

38849_2

Able to access payment methods without any errors

38849_3

@engcom-Dash engcom-Dash added Issue: needs update Additional information is require, waiting for response and removed Issue: ready for confirmation labels Jun 25, 2024
@kartikmaniyar
Copy link

@engcom-Dash Please select the Merchant Country as Germany and you can replicate the issue.

@engcom-Dash
Copy link
Contributor

Hi @mahesh-makwana-web-vision

Thanks for reporting and collaboration.

Verified the issue on Magento 2.4 dev instance and the issue is reproducible.

When the merchant country is "Germany" and the user tries to open payment methods then the user is getting the below error :

Exception #0 (Exception): Warning: Undefined array key "children" in /usr/local/var/www/magento246ce/magento246ce/vendor/magento/module-payment-services-base/Plugin/MovePaymentMethods.php on line 66

Steps to reproduce:

  1. Upgrade from Magento 2.4.6 to 2.4.7.
  2. Select merchant country as "Germany"
  3. Try to access to payment method configuration (Stores -> Configuration -> Sales -> Payment Methods)

Please refer the attached screenshot.

Screenshot 2024-06-27 at 12 45 04 PM

@engcom-Dash engcom-Dash added Component: Payment Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Area: Payments labels Jun 27, 2024
@m2-community-project m2-community-project bot removed the Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed label Jun 27, 2024
@github-jira-sync-bot
Copy link

✅ Jira issue https://jira.corp.adobe.com/browse/AC-12304 is successfully created for this GitHub issue.

@m2-community-project m2-community-project bot removed the Issue: needs update Additional information is require, waiting for response label Jun 27, 2024
@m2-community-project m2-community-project bot added the Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed label Jun 27, 2024
Copy link

m2-assistant bot commented Jun 27, 2024

✅ Confirmed by @engcom-Dash. Thank you for verifying the issue.
Issue Available: @engcom-Dash, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

@mahesh-makwana-web-vision
Copy link
Author

@magento I am working on this

@github-jira-sync-bot
Copy link

❌ You don't have permission to export this issue.

@engcom-Hotel engcom-Hotel added the Priority: P1 Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing. label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Payments Component: Payment Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P1 Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing. Progress: ready for dev Reported on 2.4.7 Indicates original Magento version for the Issue report. Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch
Projects
Status: Ready for Development
Development

No branches or pull requests

8 participants