[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
This commit is contained in:
Denis Ledoux 2015-05-08 16:41:20 +02:00
parent 63db719151
commit 4e015bd96e
1 changed files with 1 additions and 1 deletions

View File

@ -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):