def _createTxn(self, transaction):
     litleOnline = litleXmlFields.litleOnlineRequest()
     litleOnline.merchantId = self.MerchantId
     litleOnline.version = self.Version
     authentication = litleXmlFields.authentication()
     authentication.user = self.User
     authentication.password =  self.Password 
     litleOnline.authentication = authentication
     transaction.reportGroup = self.ReportGroup
     litleOnline.transaction = transaction
     return litleOnline
 def _createTxn(self, transaction):
     litleOnline = litleXmlFields.litleOnlineRequest()
     litleOnline.merchantId = self.MerchantId
     litleOnline.version = '8.13'
     litleOnline.merchantSdk = '8.13.1'
     authentication = litleXmlFields.authentication()
     authentication.user = self.User
     authentication.password = self.Password
     litleOnline.authentication = authentication
     transaction.reportGroup = self.ReportGroup
     litleOnline.transaction = transaction
     return litleOnline
Exemplo n.º 3
0
 def _createTxn(self, transaction):
     litleOnline = litleXmlFields.litleOnlineRequest()
     litleOnline.merchantId = self.MerchantId
     litleOnline.version = '9.3'
     litleOnline.merchantSdk = '9.3.2'
     authentication = litleXmlFields.authentication()
     authentication.user = self.User
     authentication.password = self.Password
     litleOnline.authentication = authentication
     transaction.reportGroup = self.ReportGroup
     if isinstance(transaction, litleXmlFields.recurringTransactionType):
         litleOnline.recurringTransaction = transaction
     else:
         litleOnline.transaction = transaction
     return litleOnline
 def _createTxn(self, transaction):
     litleOnline = litleXmlFields.litleOnlineRequest()
     litleOnline.merchantId = self.MerchantId
     litleOnline.version = "10.1"
     litleOnline.merchantSdk = "10.1"
     authentication = litleXmlFields.authentication()
     authentication.user = self.User
     authentication.password = self.Password
     litleOnline.authentication = authentication
     transaction.reportGroup = self.ReportGroup
     if isinstance(transaction, litleXmlFields.recurringTransactionType):
         litleOnline.recurringTransaction = transaction
     else:
         litleOnline.transaction = transaction
     return litleOnline