Ignore:
Timestamp:
10 Aug 2017, 06:54:48 (7 years ago)
Author:
Henrik Bettermann
Message:

Define MERCHANTID, HOST, HTTPS, API_KEY, SERVICETYPEID in one place.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/remita/webservices.py

    r14789 r14792  
    1818
    1919from kofacustom.nigeria.remita.webservices import PaymentNotificationListenerWebservice
     20from waeup.uniben.remita.browser import MERCHANTID, HOST, HTTPS, API_KEY
    2021
    21 class CustomPaymentNotificationListenerWebservice(PaymentNotificationListenerWebservice):
     22class CustomPaymentNotificationListenerWebservice(
     23    PaymentNotificationListenerWebservice):
    2224    """A webservice to receive payment notifications from
    2325    accepted IP addresses without authentication which trigger
     
    2830                   '162.13.211.92', '83.138.167.2',)
    2931
    30     # We temporarily use Remita test portal data
    31     merchantId = '2547916'
    32     host = 'www.remitademo.net'
    33     https = False
    34     api_key = '1946'
     32    merchantId = MERCHANTID
     33    host = HOST
     34    https = HTTPS
     35    api_key = API_KEY
Note: See TracChangeset for help on using the changeset viewer.