When onNotify and onReturn are called at the same time we get an outdated order and it is places twice.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3043227-9.patch | 9.71 KB | facine |
When onNotify and onReturn are called at the same time we get an outdated order and it is places twice.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3043227-9.patch | 9.71 KB | facine |
Comments
Comment #2
facine commentedAttach a temporal workaround.
Comment #3
pcambraThis is the storage, not the controller
I think the combo resetCache+load is loadUnchanged
Are we sure about the draft state being the only one relevant? or is it just an order state change.
Comment #4
pcambraComment #5
facine commentedAfter talk about this issue, I've rewrite all the patch.
Comment #6
facine commentedThis should be checked with the remote_id so we move this to the processRequest method.
Comment #7
pcambraComment #8
pcambraComment #9
facine commented@pcambra I've updated the patch to works with the last dev branch and adding reference to #3043180: The changes made to the order on the onNotify method are not applied on the onReturn method so we could modify this again when this issues is fixed in Commerce core.
Comment #11
facine commented