diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-05-08 16:41:20 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-05-08 16:41:20 +0200 |
| commit | 4e015bd96e69f072d84f2a13633754090ac64bd7 (patch) | |
| tree | 3e50020868042ca1b5031466ac38e0b1124b6538 | |
| parent | 63db719151b34d3d8b22bbf84607cdda7eb0828d (diff) | |
[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
| -rw-r--r-- | addons/payment_adyen/models/adyen.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
