- π·πΊRussia l.telyatnik
Fixed Error in patch #10:
TypeError: Argument 2 passed to Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch() must be an instance of Symfony\Component\EventDispatcher\Event or null, string given, called in /html/web/modules/contrib/commerce/modules/order/src/OrderStorage.php on line 151 Π² Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (ΡΡΡΠΎΠΊΠ° 89 ΠΈΠ· /html/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php)
- π¬π§United Kingdom pstewart
I should note that while I've succesfully used #10 in a development environment to solve the stalled orders issue, I've never put it into production for a few reasons:
- With the patch I then ran into race condition problems (see #3043180 π The changes made to the order on the onNotify method are not applied on the onReturn method Fixed ). There has been progress on that issue recently, however I am running a bit behind on Commerce at the moment so haven't tested with the latest fixes.
- The patch does make a schema change, which I'm reluctant to put into to my production database while there is doubt over the approach taken.
- While the patch tries to take an approach consistent to how orders become placed on the main authorize + capture workflow, I agree with @zaporylie that a more workflow agnostic approach is required, perhaps something along the lines of what's been done so far or a simpler core-provisioned event subscriber approach, but either way has some configurability to allow authorization workflow site builders to opt in or out of order placement by IGN depending on what the offsite gateway supports.
- πͺπΈSpain edurenye
Rebases against 2.x.
The race condition should be fixed, since #3043180 has been merged.
I guess we still need discussion regarding the other 2 points that @pstewart mentioned.
- last update
11 months ago 742 pass, 18 fail - Status changed to Needs review
11 months ago 7:47am 22 January 2024 - last update
11 months ago 790 pass - last update
7 months ago 793 pass