add website id in return url
This commit is contained in:
parent
2220edd1a2
commit
23454aa61d
|
|
@ -49,7 +49,7 @@ class HyperPayController(http.Controller):
|
|||
tx = request.env['payment.transaction'].sudo().search([('id', '=', int(post.get('txId', 0)))])
|
||||
final_response = {}
|
||||
if tx:
|
||||
base_url = request.env['ir.config_parameter'].sudo().get_param('web.base.url')
|
||||
base_url = request.httprequest.host_url
|
||||
acq = tx.acquirer_id
|
||||
partner_id = tx.partner_id
|
||||
order_id = tx.sale_order_ids[0] if tx.sale_order_ids else None
|
||||
|
|
|
|||
Loading…
Reference in New Issue