-
Notifications
You must be signed in to change notification settings - Fork 9.4k
M2.3.2 - Node <payment><payflow_advanced><user> is declared twice in Paypal module so it still use MCrypt #23880
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
Comments
Hi @Linek. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @Linek do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-Charlie. Thank you for working on this issue.
|
✅ Confirmed by @engcom-Charlie Issue Available: @engcom-Charlie, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
#mm19pl |
Hi @Yupik. Thank you for working on this issue.
|
Hello @Linek - as far as i can see, method \Magento\Framework\Encryption\Encryptor::decrypt() on branch 2.3-develop is fully supported (there's not any deprecated content). It's true, that Magento uses this method after clearing cache, but there's nothing wrong (it decrypt's username and password stored in database). Right now Magento should go inside this method until PayPal module is active. Please correct me if i'm wrong here. Additional details could be helpful too - until providing i'll close this issue |
Hi @Yupik Maybe I was not fully clear on my first description but in my opinion problem still exists. So if you will review \Magento\Framework\Encryption\Encryptor::decrypt method there is this part:
Normally the execution should never go into this condition. But because of configuration in config.xml from Magento_Paypal module, there is an execution of \Magento\Framework\Encryption\Encryptor::decrypt with String parameter "PayPal". In my opinion it's wrong and there shouldn't be double xml node under <payflow_advanced> node, but if in your opinion it's correct, then we can close it, but please mind that because of this the default BlackFire profile for Magento Cloud is displaying error that mcrypt is used while it shouldn't be anymore in 2.3 |
Hello @Linek, What do you exacly mean by:
I don't see any double xml node under |
Hi @Yupik Could you please verify that your <payflow_advanced> looks like this:
So the node is first defined with backend_model and then by string "PayPal". BR |
@Linek Yes, it looks exacly like this, but still don't get this:
If you're talking about: It's not defined twice. Could you please explain "So the node is first defined with backend_model and then by string "PayPal"." with code examples from this xml file? |
@Yupik, just read the title of the issue, the
|
@hostep Ah, that's right, thought in different way about this title :) So i'll take care about this, but after fixing doubled node |
Hi @Yupik. Thank you for working on this issue.
|
Hi @Yupik There is nothing wrong with going through |
…ayflow_advanced><user> is declared twice in Paypal module
Preconditions
Steps to reproduce
Expected result
Actual result
The reason is probably that in config.php for Magento_Paypal we have node twice under <payflow_advanced> node.
And it tries to decrypt "PayPal" value.
The text was updated successfully, but these errors were encountered: