You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
As stated in multiple issues (#8109, #8395) pre and post complete events are not triggered upon completing a payment. They are triggered only when you confirm the payment from the admin.
For this reason I think that the Payment page in the docs should alert about this or don't even mention that these event are called, as their use is inconsistent among the application. It must be preferred to listen the "pay" callback on the "sylius_order_payment" object, like this:
Sylius docs version: 1.8 / latest
Description
As stated in multiple issues (#8109, #8395) pre and post complete events are not triggered upon completing a payment. They are triggered only when you confirm the payment from the admin.
For this reason I think that the Payment page in the docs should alert about this or don't even mention that these event are called, as their use is inconsistent among the application. It must be preferred to listen the "pay" callback on the "sylius_order_payment" object, like this:
What do you think?
The text was updated successfully, but these errors were encountered: