コード例 #1
0
ファイル: ePayments.py プロジェクト: sylvestre/indico
 def getVars(self):
     vars = WTemplated.getVars(self)
     vars[
         "message"] = "Thank you for the payment!<br/> You have used WorldPay"
     vars["trinfo"] = "%s:%s" % (self._registrant.getFirstName(),
                                 self._registrant.getSurName())
     return vars
コード例 #2
0
ファイル: ePayments.py プロジェクト: sylvestre/indico
 def getVars(self):
     vars = WTemplated.getVars(self)
     vars[
         "message"] = "You have Cancelled!\nplease check your mail\n you have used WorldPay"
     vars["messagedetailPayment"] = "%s:%s" % (
         self._registrant.getFirstName(), self._registrant.getSurName())
     return vars
コード例 #3
0
ファイル: ePayments.py プロジェクト: lukasnellen/indico
 def getVars(self):
     vars = WTemplated.getVars(self)
     vars["context"] = wcomponents.WConfModifHeader(self._conf, self._aw).getHTML(vars)
     vars["title"] = self._worldPay.getTitle()
     vars["titleTabPixels"] = self.getTitleTabPixels()
     vars["intermediateVTabPixels"] = self.getIntermediateVTabPixels()
     vars["closeHeaderTags"] = self.getCloseHeaderTags()
     return vars
コード例 #4
0
ファイル: ePayments.py プロジェクト: lukasnellen/indico
 def getVars(self):
     vars = WTemplated.getVars(self)
     vars["context"] = wcomponents.WConfModifHeader(self._conf,
                                                    self._aw).getHTML(vars)
     vars["title"] = self._worldPay.getTitle()
     vars["titleTabPixels"] = self.getTitleTabPixels()
     vars["intermediateVTabPixels"] = self.getIntermediateVTabPixels()
     vars["closeHeaderTags"] = self.getCloseHeaderTags()
     return vars
コード例 #5
0
ファイル: ePayments.py プロジェクト: jt1/indico
 def getVars(self):
     vars = WTemplated.getVars(self)
     modWorldPay = self._conf.getModPay().getPayModByTag(MODULE_ID)
     vars["title"] = modWorldPay.getTitle()
     vars["url"] = modWorldPay.getUrl()
     vars["instId"] = modWorldPay.getInstId()
     vars["description"] = modWorldPay.getDescription()
     vars["testMode"] = modWorldPay.getTestMode()
     vars["APResponse"] = quoteattr(modWorldPay.getTextCallBackSuccess())
     vars["CPResponse"] = quoteattr(modWorldPay.getTextCallBackCancelled())
     return vars
コード例 #6
0
ファイル: ePayments.py プロジェクト: sylvestre/indico
 def getVars(self):
     vars = WTemplated.getVars(self)
     modWorldPay = self._conf.getModPay().getPayModByTag(MODULE_ID)
     vars["title"] = modWorldPay.getTitle()
     vars["url"] = modWorldPay.getUrl()
     vars["instId"] = modWorldPay.getInstId()
     vars["description"] = modWorldPay.getDescription()
     vars["testMode"] = modWorldPay.getTestMode()
     vars["APResponse"] = quoteattr(modWorldPay.getTextCallBackSuccess())
     vars["CPResponse"] = quoteattr(modWorldPay.getTextCallBackCancelled())
     return vars
コード例 #7
0
ファイル: ePayments.py プロジェクト: jt1/indico
    def getVars(self):
        vars = WTemplated.getVars(self)
        modWorldPay = self._conf.getModPay().getPayModByTag(MODULE_ID)
        vars["title"] = modWorldPay.getTitle()
        vars["url"] = modWorldPay.getUrl()
        vars["instId"] = modWorldPay.getInstId()
        vars["description"] = modWorldPay.getDescription()
        vars["testMode"] = modWorldPay.getTestMode()
        vars["APResponse"] = modWorldPay.getTextCallBackSuccess()
        vars["CPResponse"] = modWorldPay.getTextCallBackCancelled()
        vars[
            "legend"
        ] = """<u>Registrant data:</u>
%(registrantTitle)s : Registrant title
%(registrantFirstName)s : Registrant first name
%(registrantSurName)s : Registrant surname
%(registrantInstitution)s : Registrant institution
%(registrantAddress)s : Registrant address
%(registrantCity)s : Registrant city
%(registrantCountry)s : Registrant country
%(registrantPhone)s : Registrant phone
%(registrantFax)s : Registrant fax
%(registrantEmail)s : Registrant email
%(registrantPersonalHomepage)s : Registrant personnal homepage
%(payment_date)s : Date of payment

<u>WorldPay data:</u>
%(postcode)s            %(email)s
%(transId)s             %(compName)s
%(transStatus)s         %(countryMatch)s
%(authMode)s            %(amount)s
%(AVS)s                 %(authCost)s
%(country)s             %(lang)s
%(cartId)s              %(name)s
%(transTime)s           %(desc)s
%(authAmount)s          %(rawAuthCode)s
%(authAmountString)s    %(address)s
%(amountString)s        %(cardType)s
%(currency)s            %(cost)s
%(rawAuthMessage)s      %(countryString)s
%(authCurrency)s"""
        return vars
コード例 #8
0
ファイル: ePayments.py プロジェクト: sylvestre/indico
    def getVars(self):
        vars = WTemplated.getVars(self)
        modWorldPay = self._conf.getModPay().getPayModByTag(MODULE_ID)
        vars["title"] = modWorldPay.getTitle()
        vars["url"] = modWorldPay.getUrl()
        vars["instId"] = modWorldPay.getInstId()
        vars["description"] = modWorldPay.getDescription()
        vars["testMode"] = modWorldPay.getTestMode()
        vars["APResponse"] = modWorldPay.getTextCallBackSuccess()
        vars["CPResponse"] = modWorldPay.getTextCallBackCancelled()
        vars["legend"] = """<u>Registrant data:</u>
%(registrantTitle)s : Registrant title
%(registrantFirstName)s : Registrant first name
%(registrantSurName)s : Registrant surname
%(registrantInstitution)s : Registrant institution
%(registrantAddress)s : Registrant address
%(registrantCity)s : Registrant city
%(registrantCountry)s : Registrant country
%(registrantPhone)s : Registrant phone
%(registrantFax)s : Registrant fax
%(registrantEmail)s : Registrant email
%(registrantPersonalHomepage)s : Registrant personnal homepage
%(payment_date)s : Date of payment

<u>WorldPay data:</u>
%(postcode)s            %(email)s
%(transId)s             %(compName)s
%(transStatus)s         %(countryMatch)s
%(authMode)s            %(amount)s
%(AVS)s                 %(authCost)s
%(country)s             %(lang)s
%(cartId)s              %(name)s
%(transTime)s           %(desc)s
%(authAmount)s          %(rawAuthCode)s
%(authAmountString)s    %(address)s
%(amountString)s        %(cardType)s
%(currency)s            %(cost)s
%(rawAuthMessage)s      %(countryString)s
%(authCurrency)s"""
        return vars
コード例 #9
0
ファイル: ePayments.py プロジェクト: jt1/indico
 def getVars(self):
     vars = WTemplated.getVars(self)
     vars["message"] = "You have Cancelled!\nplease check your mail\n you have used WorldPay"
     vars["messagedetailPayment"] = "%s:%s" % (self._registrant.getFirstName(), self._registrant.getSurName())
     return vars
コード例 #10
0
ファイル: ePayments.py プロジェクト: jt1/indico
 def getVars(self):
     vars = WTemplated.getVars(self)
     vars["message"] = "Thank you for the payment!<br/> You have used WorldPay"
     vars["trinfo"] = "%s:%s" % (self._registrant.getFirstName(), self._registrant.getSurName())
     return vars
コード例 #11
0
ファイル: ePayments.py プロジェクト: lukasnellen/indico
 def getHTML(self, body, **params):
     params["body"] = body
     return WTemplated.getHTML(self, params)
コード例 #12
0
ファイル: ePayments.py プロジェクト: lukasnellen/indico
 def getHTML(self, body, **params):
     params["body"] = body
     return WTemplated.getHTML(self, params)