콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
6525 화면

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
아바타
취소
작성자 베스트 답변

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

아바타
취소
베스트 답변

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

아바타
취소
관련 게시물 답글 화면 활동
0
5월 24
1575
3
1월 25
4648
2
6월 25
2287
2
6월 25
6267
0
11월 23
1609