Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
6399 Prikazi

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
Opusti
Avtor Best Answer

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

Avatar
Opusti
Best Answer

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
maj 24
1501
3
jan. 25
3597
2
jun. 25
2147
2
jun. 25
6073
0
nov. 23
1533