Closed (fixed)
Project:
Commerce sermepa
Version:
8.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
1 Oct 2018 at 09:22 UTC
Updated:
4 Apr 2019 at 12:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
facine commentedComment #3
pcambraI think this message is way too technical, is this displayed to the user making a purchase? We should also log this.
We really need a better comment here, what is "99"? maybe it should be a constant instead.
Is there not a method already in commerce to get the payment method out of an order?
Review is confusing here, is this block captured by a try? not sure what happens if all this fails.
I'd go for order uuid instead for locking/releasing the wait
Same as above, we should log this and make messages friendlier if they're displayed to the user.
Comment #4
facine commentedHi @pcambra attach a new patch, sorry but I missed the previous code and I have not an interdiff file.
* All exceptions are cached and logged in the PaymentCheckoutController.
* Added a new method to obtains the lock id.
* Added a new method in the external library to validate authorization codes.
* Also comment that commerce has not any method to get the payment method out of an order.
Comment #6
facine commentedFixed, thanks!
Comment #7
facine commented