-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
It seems that scope based config fails to decrypt data on anything but the default store
We first noticed this when all of our stores apart from the default one failed to process paypal transactions. After further editing of the code so that we could actually see the username and password information being sent to paypal, we discovered the username field is blank, and the password field is garbled garbage data, which leads me to assume it's failed decryption.
I thought it might've just been leaving it encrypted, so i edited the code and told it to decrypt the already supposedly decrypted value, to no avail, so as of now it seems that PayPal on multi-store setups running 2.1.4 on PHP7 won't function (assuming that the PayPal account details are different than the default store, of course)
We couldn't find anything about others having this issue via google, which was quite surprising to me, so if you need any more information please don't hesitate to ask
Preconditions
- Magento v2.1.4
- PHP v7.0.6 on Ubuntu
Steps to reproduce
- Change PayPal password of non-default store
- Attempt to checkout
- User authentication unsuccessful
Expected result
- A successful transaction
Actual result
- The user field is blank, and the password field is garbed nonsense, from what I can only assume is a fail to decrypt (EG: c▒^`▒▒XP)