Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
6388 Vistas

Odoo 13.0+e (Enterprise Edition)

Module: Authorize.Net Payment Acquirer 13.0.1.0


I'm assuming this is a problem with Authorize.Net Payment Acquirer, but it could be something else.

I have all of my information set up but when I go to pay I get the following error:

2020-11-23 20:38:02,563 6 ERROR odoo.http: Exception during JSON request handling. 
Traceback (most recent call last):
  File "/home/odoo/src/odoo/odoo/http.py", line 624, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/home/odoo/src/odoo/odoo/http.py", line 310, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/home/odoo/src/odoo/odoo/tools/pycompat.py", line 14, in reraise
    raise value
  File "/home/odoo/src/odoo/odoo/http.py", line 669, in dispatch
    result = self._call_function(**self.params)
  File "/home/odoo/src/odoo/odoo/http.py", line 350, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/odoo/src/odoo/odoo/http.py", line 339, in checked_call
    result = self.endpoint(*a, **kw)
  File "/home/odoo/src/odoo/odoo/http.py", line 915, in __call__
    return self.method(*args, **kw)
  File "/home/odoo/src/odoo/odoo/http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "/home/odoo/src/odoo/addons/account_payment/controllers/payment.py", line 53, in invoice_pay_form
    'alias_usage': _('If we store your payment information on our server, subscription payments will be made automatically.'),
  File "/home/odoo/src/odoo/addons/account_payment/models/payment.py", line 25, in render_invoice_button
    values=values,
  File "/home/odoo/src/odoo/addons/payment/models/payment_acquirer.py", line 472, in render
    values = method(values)
  File "/home/odoo/src/odoo/addons/payment_authorize/models/payment.py", line 122, in authorize_form_generate_values
    temp_authorize_tx_values['x_fp_hash'] = self._authorize_generate_hashing(temp_authorize_tx_values)
  File "/home/odoo/src/odoo/addons/payment_authorize/models/payment.py", line 74, in _authorize_generate_hashing
    return hmac.new(bytes.fromhex(self.authorize_signature_key), data, hashlib.sha512).hexdigest().upper()
ValueError: non-hexadecimal number found in fromhex() arg at position 0
Avatar
Descartar
Autor Mejor respuesta

Not sure why the error was coming up, but it was fixed on Authorize.net's side, playing with configurations there.

Avatar
Descartar
Mejor respuesta

Hello Russ

Please double check your API Signature key which you have passed in authorize payment acquire configuration.
If you don't have Signature key then you get get one with help of following link.

https://support.authorize.net/s/article/What-is-a-Signature-Key
Thanks

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
may 24
1493
3
ene 25
3548
2
jun 25
2137
2
jun 25
6062
0
nov 23
1530