-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Paypal issue with region on 2.3.4 #26698
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
Thanks for opening this issue! |
Hi @kerlama. 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. @kerlama do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Same problem |
happens to us too after a manual upgrade of enterprise edition. @kerlama @justStanislav are you using enterprise edition of magento2? |
@medigeek no, I am on open source one. |
@medigeek no, community. |
@kerlama @justStanislav did you use manual upgrade or composer upgrade? |
@medigeek composer upgrade from 2.3.3. |
Thank you both. :) @kerlama I see you have already tested this on a vanilla installation as you have originally posted. I'm not sure if you can reply to the @magento bot "yes" or tick it, don't know how this github bots work heh. |
@magento give me 2.4-develop instance |
Hi @kerlama. Thank you for your request. I'm working on Magento 2.4-develop instance for you |
Hello |
Hi @kerlama, here is your Magento instance. |
@magento give me 2.3.4 instance |
Hi @kerlama. Thank you for your request. I'm working on Magento 2.3.4 instance for you |
Hi @kerlama, here is your Magento instance. |
@noeli-eshopguru code from 2.3.3 works fine for me (_applyStreetAndRegionWorkarounds). |
@magento-engcom-team I was able to reproduce the issue on clean instance you gave me. |
Hi @kerlama but why am I getting the error on the order review page? |
@noeli-eshopguru yes, for me its working fine, payment is charged and I am redirected to success page. |
Hi @kerlama, do you have any idea with my error? |
@noeli-eshopguru not sure, there are few places where this exception is thrown, see at which one it fails and then check if you have any custom observer which might affect on it. |
Hi @engcom-Hotel. Thank you for working on this issue.
|
Thanks for opening this issue! |
Having the same issue, causing a lot of website sales to go! Anyone found a fix? need it asap! I don't get how Magento release something that's so dam buggy! |
Revert back the function _applyStreetAndRegionWorkarounds from 2.3.3 in vendor/magento/module-paypal/Model/Api/Nvp.php |
I can confirm that @joridos fix is working for us. He has been unable to merge due to an error but it appears the error is at line 1618 which was already part of 3.2.4 core and he hasn't even touched! All checks for CE and EE passed. |
@stu583 yes, the only one error is on a method that I haven't changed |
@joridos Yes I had a look and its very odd. I agree that it's not anywhere near the the method you edited. Maybe already buggy, shouldn't have passed previously and never have made the 2.3.4? I don't know. Like I said its working perfectly for us. We are taking PayPal payments, in production, with no problems since applying your fix. Thanks for the contribution. 🙂 |
Yes @joridos fix works for us also. Thank you |
Personally I am getting very tired of issues arising in patch versions of Magento. 2.3.4 has introduced two major payment bugs - one for Paypal which should NOT have happened and one for certain third party vendor payment methods, such as Magenticity SagePay, see here: 2.3.4 Checkout Infinite Loop. How does this happen?! |
It looks like Magento has released a hotfix for this problem on: https://magento.com/tech-resources/download#download2353 Maybe somebody running into this issue can test and report back if this fixes it for them? |
The patch did not fix it for me. |
Infinite loop detected appeared due to a third party extension 'Stripe' - they have released a newer version. |
We do not have stripe either and found that 1 third party tier pricing module was responsible. |
@Emilietrepanier Is it maybe from MageWorx, as we do have their extension installed, to add fees. Yes it was MageWorx extension. We updated it and it's all good now. |
@Grumag For us it was Blue Jalapeno Tier Pricing |
Hi @kerlama. Thank you for your report and collaboration! The issue was fixed by Magento team. The fix was delivered into The fix will be available with the upcoming |
I have tested applying the patch @hostep mentioned in 2.3.4 Cloud instance and it works |
Anyone has a fix for this that actually works. Getting a http error instead of the magento success page with paypal express and braintree/paypal module. Nothing in this thread actually works. Thanks |
Hi @kerlama. Thank you for your report and collaboration! The issue was fixed by Magento team. The fix was delivered into The fix will be available with the upcoming |
Did you find a fix? I use this module. |
Any solution>? Failed to connect to 127.0.0.1 port 808: Connection refused at /home/luckyeyesinc/public_html/vendor/magento/module-paypal/Model/Api/Nvp.php:1215)"} [] |
Did you find any solution? |
@noeli-eshopguru Are you directly update code or using any model or preference to achieve this edit? FYI - I am using multi-website, website 1 for USA website 2 for Australia i am using Paypal for my MultiWebsite, here website 1(USA) working good, website 2(Australia) getting error. Error: If my website 2 customer tries to pay PayPal getting the following error, but website 1 PayPal working well. Fatal error: Uncaught Error: Call to a member function getId() on null in /var/www/html/test/app/code/Magento/Paypal/Model/Api/Nvp.php:1524 The Conclusion, shall i go with patch or edit code (What is the recommended way to edit the file)? |
Does anyone have a solution? |
@magento-engcom-team I'm getting the same error in 2.4.1 can anyone else confirm? I get the error below when trying to apply the patch
|
The error is still there with Magento Community Edition 2.3.7. Unbelievable |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
When I ported back code from 2.3.3 for _applyStreetAndRegionWorkarounds function, it worked.
$regions->getItems() in _applyStreetAndRegionWorkarounds is empty.
The text was updated successfully, but these errors were encountered: