Files
odoo_source/addons/payment_authorize/models
Thomas Lefebvre (thle) c438197675 [FIX] payment_authorize: long partner name credit card payment
Steps to reproduce:
    - install payment_authorize module;
    - complete a credit card payment using Authorize.net with a partner name of almost 50 characters;
    - confirm the payment.

Issues:
    An error message appears.

Causes:
   The Authorize.net API define the max length of information.
   It is possible that some information exceeds the maximum length.
   (https://apitest.authorize.net/xml/v1/schema/AnetApiSchema.xsd)

Solutions:
    Truncate information if the number of character is too large.

opw-2990762

closes odoo/odoo#101496

X-original-commit: 9da8882e0b218e95f2662a9c7f980b17b72fe7be
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Lefebvre Thomas (thle) <thle@odoo.com>
2022-09-29 08:05:52 +02:00
..