-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: BackendComponent: Framework/EncryptionEvent: mm19plFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed
Description
Preconditions
- Magento 2.3.2 Open Source & Enterprise
Steps to reproduce
- Flush cache
- Add breakpoint in \Magento\Framework\Encryption\Encryptor::decrypt in line 437 (can be var_dump or die method). Just to make sure it won't go inside, as this is not supported method
- Run the homepage
Expected result
- Website should run correctly without going inside of unsupported method
Actual result
- Website is stopping (die) on breakpoint because unsupported crypt is used
The reason is probably that in config.php for Magento_Paypal we have node twice under <payflow_advanced> node.
<payflow_advanced>
<model>Magento\Paypal\Model\Payflowadvanced</model>
<payment_action>Authorization</payment_action>
<verbosity>HIGH</verbosity>
<user backend_model="Magento\Config\Model\Config\Backend\Encrypted" />
<pwd backend_model="Magento\Config\Model\Config\Backend\Encrypted" />
<group>paypal</group>
<title>Credit Card</title>
<partner>PayPal</partner>
<vendor>PayPal</vendor>
<user>PayPal</user>
<csc_required>1</csc_required>
<csc_editable>1</csc_editable>
<url_method>GET</url_method>
<email_confirmation>0</email_confirmation>
<verify_peer>1</verify_peer>
<transaction_url_test_mode>https://pilot-payflowpro.paypal.com</transaction_url_test_mode>
<transaction_url>https://payflowpro.paypal.com</transaction_url>
<cgi_url_test_mode>https://pilot-payflowlink.paypal.com</cgi_url_test_mode>
<cgi_url>https://payflowlink.paypal.com</cgi_url>
</payflow_advanced>
And it tries to decrypt "PayPal" value.
Metadata
Metadata
Assignees
Labels
Component: BackendComponent: Framework/EncryptionEvent: mm19plFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed