- @aerzas opened merge request.
There are two checks within the Datatrans payment gateway that verify that the payment is on the 'pending' state. This blocks our process since a Datatrans payment is never set to that state. It follows the 'payment_default' workflow which is New > Authorization > Completed | (Partially) Refunded.
Ideally we should check to see if the payment is in the initial state of its corresponding workflow. (Here it would be 'new' instead of 'pending')
Replace payment state checks 'pending' with 'new'.
Needs review
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.