I've wasted all the morning testing sermepa 2.0 module with our bank gateway. Finally found that around lines 138,141,203 and 206 the comparisons are wrong: the use only one equal for comparison instead of double equal, which makes that always enter in 'corta'
Search $ds_key_long='corta' and replace with $ds_key_long=='corta'
same with: $ds_key_long='larga' and replace with $ds_key_long=='larga'
Bookmarks