Changeset 8293


Ignore:
Timestamp:
27 Apr 2012, 06:31:02 (13 years ago)
Author:
Henrik Bettermann
Message:

Activate Interswitch payment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser.py

    r8281 r8293  
    3636from waeup.uniben.interfaces import MessageFactory as _
    3737
    38 #    Interswitch test account data:
    39 #
    40 #   Card Number: 6274807700000007
    41 #   Expiry Date: July 2012
    42 #   PIN: 0000
    43 
    44 #   Card Number: 6278050000000007
    45 #   Expiry Date: July 2012
    46 #   PIN: 0000
    47 #
    48 #   PAN,EXPIRY,PIN,CVV2
    49 #   5060990330000003386,1304,0000,543
    50 #   5060990330000003394,1304,0000,865
    51 #   5060990330000003402,1304,0000,012
    52 #   5060990330000003410,1304,0000,737
    53 #   5060990330000003428,1304,0000,310
    54 #   5060990330000003436,1304,0000,173
    55 
    5638PRODUCT_ID = '57'
    5739SITE_NAME = 'uniben-kofa.waeup.org'
     
    6143INSTITUTION_NAME = 'Uniben'
    6244CURRENCY = '566'
    63 #QUERY_URL = 'https://webpay.interswitchng.com/paydirect/services/TransactionQueryURL.aspx'
    64 QUERY_URL = 'https://testwebpay.interswitchng.com/test_paydirect/services/TransactionQueryURL.aspx'
    65 #POST_ACTION = 'https://webpay.interswitchng.com/paydirect/webpay/pay.aspx'
    66 POST_ACTION = 'https://testwebpay.interswitchng.com/test_paydirect/webpay/pay.aspx'
    67 
    68 #HOST = 'webpay.interswitchng.com'
    69 HOST = 'testwebpay.interswitchng.com'
    70 #URL = '/paydirect/services/TransactionQueryWs.asmx'
    71 URL = '/test_paydirect/services/TransactionQueryWs.asmx'
     45QUERY_URL = 'https://webpay.interswitchng.com/paydirect/services/TransactionQueryURL.aspx'
     46#QUERY_URL = 'https://testwebpay.interswitchng.com/test_paydirect/services/TransactionQueryURL.aspx'
     47POST_ACTION = 'https://webpay.interswitchng.com/paydirect/webpay/pay.aspx'
     48#POST_ACTION = 'https://testwebpay.interswitchng.com/test_paydirect/webpay/pay.aspx'
     49
     50HOST = 'webpay.interswitchng.com'
     51#HOST = 'testwebpay.interswitchng.com'
     52URL = '/paydirect/services/TransactionQueryWs.asmx'
     53#URL = '/test_paydirect/services/TransactionQueryWs.asmx'
    7254httplib.HTTPConnection.debuglevel = 0
    7355
     
    447429        applicant = self.context.__parent__
    448430        if query_interswitch(applicant, self.context, self):
    449             actions_after_applicant_payment(student, self.context, self)
     431            actions_after_applicant_payment(applicant, self)
    450432        return
    451433
Note: See TracChangeset for help on using the changeset viewer.