[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:
parent
63db719151
commit
4e015bd96e
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue