[FIX] payment_sips: accept scoreInfo in payment response
After a payment is processed by SIPS, a data object is posted back to Odoo. The data has a `ScoreInfo` element that has more than one `=` characters (e.g. `scoreInfo=A3;N;N#SC;N;TRANS=3:2;CUMUL=4500:250000`) This causes the method `_sips_data_to_object` to break, because there will be too many values to unpack. To fix this, we should limit the data split to 2 values. This is the same method used by SIPS to process data as well. (See: https://github.com/worldline/Sips-International-non-FR-PHPlibrary/blob/master/lib/Sips/PaymentResponse.php#L73 ) opw-3071315 closes odoo/odoo#106919 Signed-off-by:Antoine Vandevenne (anv) <anv@odoo.com>
Loading
Please register or sign in to comment