Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Developer experience
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
14 Dec 2017 at 14:34 UTC
Updated:
14 Nov 2018 at 12:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
casey commentedNote that if this is the case (that payment gateways should not update the order status), that #2934647: The order can stay unplaced after an offsite payment.
Comment #3
bojanz commented#2934647: The order can stay unplaced after an offsite payment has landed, let's add those docs now.
Comment #4
bojanz commentedNow that #3009962: Invalid step ID "" passed to redirectToStep() in PaymentCheckoutController->returnPage is in, we also need to document that onReturn() will be skipped if onNotify() resulted in a placed order.
Comment #5
bojanz commentedHere's a patch.
And here's the entire OffsitePaymentGatewayInterface docblock for context:
Comment #6
bojanz commentedNow with 100% more patch!
Comment #7
zaporylieThe parent order should not be touched whatsoever or it should not be placed/transition should not be fired?
I'm wondering if it is strictly forbidden for payments to modify the order, even if only to set some metadata on the order itself.
Comment #8
bojanz commentedI'll change "should not be touched" to "does not need to be touched", since it's not forbidden.
Comment #10
bojanz commentedFixed #8 and committed. Thanks, everyone.