-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Checkout with PayPal throws a "Something went wrong ......" error #28092
Comments
Hi @chequille. 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. @chequille do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
@magento give me 2.4-develop instance - upcoming 2.4.x release |
Hi @chequille. Thank you for your request. I'm working on Magento 2.4-develop instance for you |
Hi @chequille, here is your Magento instance. |
Any idea yet? |
Hi @prasannachelladurai90. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Magento instance deployment temporary unavailable due to service maintenance. |
As long as I see its not distracting the paypal checkout workflow. With Website Payment Standard, the option "InContext Checkout" enabled @chequille described above is not available. Quick and (very) dirty fix to hide the message from customers with css: |
Hi, this is relly quick and dirty. I thought to do so as well, but if a real error occurs, the message is also not shown. Nevertheless, as this error was not there in 2.3.4, there is some change somewhere cuasing this and therefore it needs to be investigated. Best regards and stay healthy :-) |
@magento give me 2.4-develop instance |
Hi @prasannachelladurai90. Thank you for your request. I'm working on Magento 2.4-develop instance for you |
Hi @prasannachelladurai90, here is your Magento instance. |
Hi @chequille I tried to reproduce the issue in Magento 2.4 and it did not occur to me |
Sorry, can not acces the video. |
Sorry I have granted Permission. You should able to see the Video now. And i did try multiple times going to Payment From Checkout. |
Sorry, still saying no permission to open the video. |
@chequille I think you should be able to view now |
Sorry, no. |
@chequille Permission is set from My end and this is the Link https://drive.google.com/file/d/1gN771KPKxUuRljOx7-PjUCBPAHrQN6aH/view?usp=sharing |
In the picture it says Perrmission missing. I am logged in with the account for js@chequille.de |
@chequille Ah the Permission is set to your gmail account "chequille22@gmail.com" can you please open it from your gmail |
Hi Again, Ok, back to the problem:
Looking forward to hearing from you. |
✅ Confirmed by @Den4ik Issue Available: @Den4ik, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
@5m-solutions |
I could reproduce this issue on latest 2.4-develop branch using Firefox browser. |
I confirm this on 2.4.2 Looking forward to find some solved issues here |
This solution worked for me too! Thanks 5m |
Thank you @5m-solutions for the idea, I removed the email and the issue was still there. Then checked all my paypal settings and disabled the method "Website Payment Standard" and enabled "PayPal Express" and the issue was gone! Not sure what Website Payment Standard is doing there because its handled by PayPal Express anyway as far as I can see. So anyone who cannot solve it by simply removing the email address, check if you use website payment standard or PayPal Express and switch to express. Maybe this will solve it for you as well. |
Unbelievable, still happens in version 2.4.3 |
We had a similar issue in Firefox and Safari only and no error message appeared in Chrome. This SO answer explains the cause: Firefox navigates to another page (paypal express checkout) and aborts all pending XHR requests. Message is defined here: # vendor/magento/module-paypal/view/frontend/web/js/in-context/express-checkout-wrapper.js
paymentActionError: $t('Something went wrong with your request. Please try again later.'), It is used then in .fail() callbacks of these scripts:
The fast workaround is to enable In context checkout for PayPal. This way the customer is completing payment without being redirected to the gateway website. |
Hi @MTheProgrammer , |
Yes, that is just a partial solution. Module should work for both cases. I think that you can add mixins or override those methods which I mentioned above and verify somehow whether there was a redirect. |
Little bit confused now!!!! |
It depends on how fast is the request processing. Just verify request timing in dev tools whether it was finished before Navigating to PayPal express checkout. |
We're seeing this issue as well on an enterprise client. Replicable on safari and firefox when you quickly click the paypal button after selecting the payment method. |
@convenient did you enter the paypal email address in the backend? Try to remove it and see if it still appears, this field is not mandatory and solved the issue for me. |
What we did: |
I updated to Magento 2.4.3-p1 and now the issue is back … I got the advice to look at this issue: #33741 |
According to the release notes of Magento 2.4.4, the issue is fixed there! Maybe someone can test and confirm? https://devdocs.magento.com/guides/v2.4/release-notes/open-source-2-4-4.html |
The following is just FYI, no confirmation from my end. @plastikschnitzer probably means this entry from the release notes of Magento 2.4.4:
This is linked to internal ticket number MC-42154 of which I can only find this commit: d266630 Again, no confirmation if this is a fix for this issue, this is just information I gathered from the release notes. |
I also encountered this problem. |
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
I just installed my backups from 2.3.4 version and there it does not happen.
So something within the 2.3.5-p1 update must be the reason for this.
Ok, the order is still processed but sorry, I do not want to see this error message, even if it is disappearing after a few seconds and the page is moving to PayPal sites.
Unfortunately, nothing logged in the log directory or in the the report directory.
The text was updated successfully, but these errors were encountered: