[ADD]:Added Upstream patch for payment_ogone
This commit is contained in:
parent
48a88443b1
commit
169637cdf5
@ -3,3 +3,4 @@
|
||||
|
||||
from . import models
|
||||
from . import controllers
|
||||
from flectra.addons.payment.models.payment_acquirer import create_missing_journal_for_acquirers
|
||||
|
@ -14,4 +14,5 @@
|
||||
'data/payment_acquirer_data.xml',
|
||||
],
|
||||
'installable': True,
|
||||
'post_init_hook': 'create_missing_journal_for_acquirers',
|
||||
}
|
||||
|
@ -110,7 +110,7 @@ class OgoneController(http.Controller):
|
||||
def feedback(self, **kwargs):
|
||||
try:
|
||||
tx = request.env['payment.transaction'].sudo()._ogone_form_get_tx_from_data(kwargs)
|
||||
tx._ogone_s2s_validate()
|
||||
tx._ogone_s2s_validate_tree(kwargs)
|
||||
except ValidationError:
|
||||
return 'ko'
|
||||
return 'ok'
|
||||
|
Loading…
Reference in New Issue
Block a user