When a payment failed if we use SoColissimo as delivery we can't retry the payment.
We got this error message : "Got an error with So Colissimo module. Please try again to checkout."
This is because an AdressSocolissimo is created on event ORDER_SET_DELIVERY_MODULE and then deleted on event ORDER_BEFORE_PAYMENT. So on the second try we don't dispatch the ORDER_SET_DELIVERY_MODULE event and the address was not created.
So maybe we don't need to delete this address on ORDER_BEFORE_PAYMENT?
When a payment failed if we use SoColissimo as delivery we can't retry the payment. We got this error message : "Got an error with So Colissimo module. Please try again to checkout."
This is because an AdressSocolissimo is created on event ORDER_SET_DELIVERY_MODULE and then deleted on event ORDER_BEFORE_PAYMENT. So on the second try we don't dispatch the ORDER_SET_DELIVERY_MODULE event and the address was not created.
So maybe we don't need to delete this address on ORDER_BEFORE_PAYMENT?