Merge pull request #3797 from expsa/ENS-3555

log website id on payment return
This commit is contained in:
abdurrahman-saber 2025-07-08 12:18:20 +03:00 committed by GitHub
commit 177197f198
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -121,4 +121,5 @@ class HyperPayController(http.Controller):
res = request.env['payment.transaction'].sudo().form_feedback(resp, "hyperpay")
ids = tx_id.sale_order_ids.sudo().ids
request.session['sale_last_order_id'] = ids[0] if len(ids) else None
_logger.info('/payment/hyperpay/result--force_website_id = %d' % request.session.get('force_website_id'))
return request.redirect('/payment/process')