Skip to content

Can't checkout with Braintree on Magento 2.1 #5462

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

Closed
ln8711 opened this issue Jul 5, 2016 · 13 comments
Closed

Can't checkout with Braintree on Magento 2.1 #5462

ln8711 opened this issue Jul 5, 2016 · 13 comments

Comments

@ln8711
Copy link

ln8711 commented Jul 5, 2016

Steps to reproduce

  1. Install Magento 2.1
  2. Configure and enable Braintree payment method
  3. Create a new order in frontend (using Visa card)

Expected result

  1. The order should be created

Actual result

  1. Error message: Unable to place order. Please try again later
@darragh1001
Copy link

If you enable cash on delivery do you also get this error? I am on Magento 2.1 but I get this error on all payment options

@YevSent
Copy link
Contributor

YevSent commented Jul 5, 2016

@hoanglan87, could you attach debug log? Also, do you have any errors in browser console? Is fresh Magento installation or upgrade from some previous release?

@ln8711
Copy link
Author

ln8711 commented Jul 7, 2016

Hi, sorry for the delay, this is the request sent when place the order. I clean the debug log before add the product into cart and there is nothing in there.
fbug1

@YevSent
Copy link
Contributor

YevSent commented Jul 7, 2016

Without any logs, we haven't ability to find the reason of your problem.
Could you enable xdebug and set break points in the exception throwing for guest customers or in the exception throwing for registered customers and post the \Exception message to this issue?

@Nerogee
Copy link

Nerogee commented Jul 7, 2016

@hoanglan87 Hi, do you mind enable the paypal debug mode and check the webroot/var/log/debug.log file. My case is the invoice ID is always 000000001 when sending checkout data through paypal API. Just want to make sure I'm not alone.

@ln8711
Copy link
Author

ln8711 commented Jul 9, 2016

@Nerogee Paypal works for me, no issue with it.
@joni-jones look like the issue from the server, I reinstalled the OS and it works now, sorry for this problem, I'm closing this issue. Thanks for you help

@ln8711 ln8711 closed this as completed Jul 9, 2016
@romeof1980
Copy link

romeof1980 commented Jul 20, 2016

hi there,
we've got the same issue on giustoacquisto.com:

  1. 'Express Paypal' does not work (the Paypal pop-up opens then breaks before loading and closes unexpectedly) - THAT'S TURNED OUT TO BE A CORS ISSUE ON FIREFOX: we're working on it
  2. 'Paypal through Braintree' does not work (on click on "Proceed on checkout" nothing happen)
  3. on 'Credit Card (Braintree)' we experience the same issue as @hoanglan87

IMPORTANT: cash on delivery works as expected
Note: we're not using Sandbox

Debugging; with regard to points 2) and 3) nothing appears in the Firebug's Error Console.

Magento ver. 2.1.0
Software version: 5.6.28-76.1 - Percona Server (GPL), Release 76.1, Revision 5759e76
Database client version: libmysql - 5.5.45-37.4

thanks,
romeo

@romeof1980
Copy link

hi there,
our issue can be related to #5511
it's a set up issue (Braintree/Paypal set up) and not a Magento issue.
We'll post a confirmation of that as soon as we complete the process.

thanks

@juanmrad
Copy link

I have the same problem and it is when the user is login.

@kienmba
Copy link

kienmba commented Aug 17, 2016

I also encountered similar problems.
Please can you help me.
http://prntscr.com/c6saqw
Thank you so much :) :)

@romeof1980
Copy link

hi @ttkien175 ,
sure I can if you have set up correctly your Braintree account and you still get the error "unable to place order:please try again later".
We just solved the issue deleting table prefixing and updating table sales_sequence_meta as detailed in #5902
Note that table prefixing can easily be edited from phpMyadmin (see zsd solution here: http://stackoverflow.com/questions/6404158/how-to-remove-a-prefix-name-from-every-table-name-in-a-mysql-database ).
Don't forget to edit env.php in order to modify the table prefixing.
Then you should delete static content (see here: http://magento.stackexchange.com/questions/94502/magento2-re-generate-css-file-in-pub-static-folder) and redeploy it for every language present in your shop.

that worked for us and fixed the issue.
Note: we experienced the issue in Production Mode after upgrading to 2.0.6 (issue persisted after another upgrade to 2.1.0)

@kienmba
Copy link

kienmba commented Aug 18, 2016

hi @romeof1980 thank you so much. :) :)

@tandih
Copy link

tandih commented Aug 20, 2016

Hi there,

I also encountered similar problems before and root cause is when i try to create new store by script php and sales_sequence_* table is not update after run reindex. You can fix by trigger event store_edit when create store by script. Hope this is helpful for some guys like me before.

mmansoor-magento pushed a commit that referenced this issue Oct 15, 2020
Fixed Issues:
- MC-31349: Customer file uploader update
- MC-30998: Incorrect flow of saving Newsletter templates
- MC-32189: Improve validation of secret keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants