summaryrefslogtreecommitdiffstats
path: root/eopayment/payzen.py
blob: 9d9cdb9c7926fc8391860495f7da7d245a88ed67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from copy import deepcopy

from . import systempayv2

__all__ = ['Payment']

class Payment(systempayv2.Payment):
    service_url = 'https://secure.payzen.eu/vads-payment/'

    description = deepcopy(systempayv2.Payment.description)
    description['caption'] = 'PayZen'
    for param in description['parameters']:
        if param['name'] == 'service_url':
            param['default'] = service_url
            break