summaryrefslogtreecommitdiff
path: root/addons/payment_authorize
diff options
context:
space:
mode:
Diffstat (limited to 'addons/payment_authorize')
-rw-r--r--addons/payment_authorize/models/payment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/payment_authorize/models/payment.py b/addons/payment_authorize/models/payment.py
index e7be116700d..93403af7104 100644
--- a/addons/payment_authorize/models/payment.py
+++ b/addons/payment_authorize/models/payment.py
@@ -84,7 +84,7 @@ class PaymentAcquirerAuthorize(models.Model):
if values.get('billing_partner_country') and values.get('billing_partner_country') == self.env.ref('base.us', False):
billing_state = values['billing_partner_state'].code if values.get('billing_partner_state') else ''
- base_url = self.env['ir.config_parameter'].get_param('web.base.url')
+ base_url = self.get_base_url()
authorize_tx_values = dict(values)
temp_authorize_tx_values = {
'x_login': self.authorize_login,