Changeset 11915


Ignore:
Timestamp:
30 Oct 2014, 16:54:24 (10 years ago)
Author:
Henrik Bettermann
Message:

Be prepared for https webservice requests. #2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/browser.py

    r11767 r11915  
    8181    gateway_host = None
    8282    gateway_url = None
     83    https = False
    8384
    8485    def update(self):
     
    8889        student = self.context.student
    8990        success, msg, log = query_interswitch(
    90             self.context, self.product_id, self.gateway_host, self.gateway_url)
     91            self.context, self.product_id,
     92            self.gateway_host, self.gateway_url,
     93            self.https)
    9194        student.writeLogMessage(self, log)
    9295        if not success:
     
    114117    gateway_host = None
    115118    gateway_url = None
     119    https = False
    116120
    117121    def update(self):
     
    121125        applicant = self.context.__parent__
    122126        success, msg, log = query_interswitch(
    123             self.context, self.product_id, self.gateway_host, self.gateway_url)
     127            self.context, self.product_id,
     128            self.gateway_host, self.gateway_url,
     129            self.https)
    124130        applicant.writeLogMessage(self, log)
    125131        if not success:
Note: See TracChangeset for help on using the changeset viewer.