From 4e015bd96e69f072d84f2a13633754090ac64bd7 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Fri, 8 May 2015 16:41:20 +0200 Subject: [PATCH] [FIX] payment_adyen: live Adyen payment acquirer URL The production payment page of Adyen is not `https://prod.adyen.com/hpp/pay.shtml` but `https://live.adyen.com/hpp/pay.shtml` opw-634894 --- addons/payment_adyen/models/adyen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/payment_adyen/models/adyen.py b/addons/payment_adyen/models/adyen.py index 672faed9d63..1ab2f1839f2 100644 --- a/addons/payment_adyen/models/adyen.py +++ b/addons/payment_adyen/models/adyen.py @@ -27,7 +27,7 @@ class AcquirerAdyen(osv.Model): - yhpp: hosted payment page: pay.shtml for single, select.shtml for multiple """ return { - 'adyen_form_url': 'https://%s.adyen.com/hpp/pay.shtml' % environment, + 'adyen_form_url': 'https://%s.adyen.com/hpp/pay.shtml' % 'live' if environment == 'prod' else environment, } def _get_providers(self, cr, uid, context=None):