le retour de payapl plantait parce qu'il y avait des arguments et que

cherrypy ne les attendait pas.

darcs-hash:20061205014731-f46e9-61bb4373d2c6ce42b291103e0e93cc7b10966bb7.gz
This commit is contained in:
gdetrez 2006-12-05 02:47:31 +01:00
parent 40bb219714
commit baf4b7bd90

View file

@ -111,7 +111,6 @@ class monCompte:
'template' :'monCompte',
'values' :t,
'stylesheets' :['monCompte.css'],
# 'scripts':['crans.js','passwordGenerator.js'],
'scripts':['crans_domtab.js','moncompte.js','passwordGenerator.js'],
}
index.exposed = True
@ -193,16 +192,18 @@ class monCompte:
}
rechargerCompteImpression.exposed = True
def paypalReturn(self):
return {
'template' :'MonComptePaypalReturn',
'standalone' :True,
'values' :{},
}
def paypalReturn(self, **kw):
_crans_cp.log("retour de paypal avec les infos : %s" % " ".join( [ "[%s: %s]" % (str(a), str(kw[a])) for a in kw] ) )
return {
'template' :'MonComptePaypalReturn',
'standalone' :True,
'values' :{},
}
paypalReturn.exposed = True
def paypalCancel(self):
return {
def paypalCancel(self, **kw):
_crans_cp.log("annulation de paypal avec les infos : %s" % " ".join( [ "[%s: %s]" % (str(a), str(kw[a])) for a in kw] ) )
return {
'template' :'MonComptePaypalCancel',
'standalone' :True,
'values' :{},