Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
7625cd2c
Commit
7625cd2c
authored
Oct 13, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return just simple, in-ZODB parsable dict.
parent
dd90d738
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
bt5/erp5_payzen_secure_payment/DocumentTemplateItem/PayzenService.py
...yzen_secure_payment/DocumentTemplateItem/PayzenService.py
+6
-1
bt5/erp5_payzen_secure_payment/bt/revision
bt5/erp5_payzen_secure_payment/bt/revision
+1
-1
No files found.
bt5/erp5_payzen_secure_payment/DocumentTemplateItem/PayzenService.py
View file @
7625cd2c
...
@@ -84,7 +84,12 @@ else:
...
@@ -84,7 +84,12 @@ else:
signature
+=
self
.
getServicePassword
()
signature
+=
self
.
getServicePassword
()
kw
[
'wsSignature'
]
=
hashlib
.
sha1
(
signature
).
hexdigest
()
kw
[
'wsSignature'
]
=
hashlib
.
sha1
(
signature
).
hexdigest
()
data
=
client
.
service
.
getInfo
(
**
kw
)
data
=
client
.
service
.
getInfo
(
**
kw
)
return
[
data
,
self
.
_check_transcationInfoSignature
(
data
),
data_kw
=
dict
(
data
)
for
k
in
data_kw
.
keys
():
v
=
data_kw
[
k
]
if
not
isinstance
(
v
,
str
):
data_kw
[
k
]
=
str
(
v
)
return
[
data_kw
,
self
.
_check_transcationInfoSignature
(
data
),
str
(
client
.
last_sent
()),
str
(
client
.
last_received
())]
str
(
client
.
last_sent
()),
str
(
client
.
last_received
())]
class
PayzenService
(
XMLObject
,
PayzenSOAP
):
class
PayzenService
(
XMLObject
,
PayzenSOAP
):
...
...
bt5/erp5_payzen_secure_payment/bt/revision
View file @
7625cd2c
27
28
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment