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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastien Robin
erp5
Commits
4dafc187
Commit
4dafc187
authored
Mar 02, 2023
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
payzen_secure_payment: return fields sorted in _getFieldList
See merge request
nexedi/erp5!1746
parents
f39ad5df
026a78ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
bt5/erp5_payzen_secure_payment/DocumentTemplateItem/portal_components/document.erp5.PayzenService.py
...lateItem/portal_components/document.erp5.PayzenService.py
+3
-5
No files found.
bt5/erp5_payzen_secure_payment/DocumentTemplateItem/portal_components/document.erp5.PayzenService.py
View file @
4dafc187
...
...
@@ -8,6 +8,7 @@ import base64
import
datetime
import
os
import
time
import
six
import
requests
from
Products.ERP5Type.Core.Workflow
import
ValidationFailed
...
...
@@ -153,12 +154,9 @@ class PayzenService(XMLObject, PayzenREST):
vads_version
=
self
.
getPayzenVadsVersion
()
)
# fetch all prepared vads_ values and remove them from dict
signature
=
self
.
_getSignature
(
payzen_dict
,
sorted
(
payzen_dict
.
keys
(
)))
signature
=
self
.
_getSignature
(
payzen_dict
,
sorted
(
six
.
iterkeys
(
payzen_dict
)))
payzen_dict
[
'signature'
]
=
signature
field_list
=
[]
for
k
,
v
in
payzen_dict
.
iteritems
():
field_list
.
append
((
k
,
v
))
return
field_list
return
sorted
(
six
.
iteritems
(
payzen_dict
))
def
navigate
(
self
,
page_template
,
payzen_dict
,
REQUEST
=
None
,
**
kw
):
"""Returns configured template used to do the payment"""
...
...
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