Closed Minirock closed 1 year ago
Hi @Minirock. Thank you for your report. To speed up processing of this issue, make sure that you provided the following information:
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:
@magento give me 2.4-develop instance
- upcoming 2.4.x release
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.
:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel
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).Details
If the issue has a valid description, the label Issue: Format is valid
will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid
appears.
[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description
label to the issue by yourself.
[ ] 3. Add Component: XXXXX
label(s) to the ticket, indicating the components it may be related to.
[ ] 4. Verify that the issue is reproducible on 2.4-develop
branchDetails
- 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!
[ ] 5. Add label Issue: Confirmed
once verification is complete.
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
@magento give me 2.4-develop instance
Hi @engcom-November. Thank you for your request. I'm working on Magento instance for you.
Hi @engcom-November, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later.
Hi @Minirock , Thank you for reporting and collaboration. Verified the issue on Magento 2.4-develop instance but no errors were observed with below steps performed: Steps performed:
The error seems to come from this file vendor/magento/module-paypal/etc/config.xml
. Did you check if the version and content was the same ?
To fix it on my own i had to extend the config and add the title
<paypal_paylater>
<title>Paypal Pay Later</title>
Hi @Minirock , In Magento 2.4-develop latest instance and 2.4.5-p1 project-community edition, title named as
<payment>
but no title is mentioned under <paypal_paylater>
in /etc/config.xml and the issue is not reproducible.Admin - Invoice or Sales order grid - payment method is displayed as "Paypal express checkout" for the payment made using Paypal Paylater experience from front-end (Paypal Paylater enabled for paypal express checkout configuration from admin) and no error messages are getting displayed in both UI and logs.
<payment>
<paypal_express>
<model>Magento\Paypal\Model\Express</model>
<title>PayPal Express Checkout</title>
Its recommended to verify issue on magento 2.4-develop instance / having latest code base without any 3rd party extensions / modules enabled. Kindly recheck the issue on 2.4-develop instance / latest version and provide missing steps if any if the issue is still reproducible. Thank you.
Hi, I can't tell why this isn't reproductible on your instance, and it's probably also due to one of our third partiy module.
Though you can't deny, checking at the following file : magento2/app/code/Magento/Paypal/etc/config.xml
Each ones of the payment methods in this file have a title declared like paypal_express indeed, each one of them is right except from the last one of the file paypal_paylater which is missing the title which is causing (for unknown reason and unknown circumstances this issue).
Hi @Minirock , Thank you for the response. I rechecked magento2/app/code/Magento/PayPal/etc/config.xml file again and agree that every payment method has a title included but since Paypal pay later is not a separate payment method but integrated with all other paypal payment methods, default main payment method used is displayed on backend order details grid page on making payment with Paypal pay later method. I rechecked the behavior again with Payflow pro payment method configured from back end and placed order using "Papal pay later" and the issue is still no reproducible. Payment method is displayed as "Payflow Pro" on back end order details and invoice Grid. Kindly check the behavior on latest magento instance / 2.4-develop instance without 3rd party modules and let us know if you are still facing any issues. Thank you.
Thanks for watching. I can't reproduce neither on fresh 2.4 installation. Anyway, adding a title to the method fixed it in our case...so i can't really tell what was causing that issue. I guess this can be close, unless someone can reproduce to get an other use case.
Thank you for the confirmation @Minirock . We are closing this issue. Kindly reopen / create new one if you face any issues. Thank you.
Preconditions and environment
Magento version : 2.4.4
magento/module-paypal : "version": "101.0.4",
Steps to reproduce
Expected result
The order grid is printed
Actual result
We reach an error cause of the paypal_paylater payment method.
Additional information
Digging into it it looks like the method in
vendor/magento/module-paypal/etc/config.xml
is missing the title which is causing this issue.Release note
No response
Triage and priority