Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
slapos.core
Commits
5231c472
Commit
5231c472
authored
12 years ago
by
Łukasz Nowak
Browse files
Options
Download
Email Patches
Plain Diff
Do not fail in case of no previous id.
parent
f8c818db
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
master/bt5/vifib_payzen/WorkflowTemplateItem/portal_workflow/payzen_interface_workflow/scripts/PayzenEvent_registerPayzen.xml
...interface_workflow/scripts/PayzenEvent_registerPayzen.xml
+2
-1
master/bt5/vifib_payzen/bt/revision
master/bt5/vifib_payzen/bt/revision
+1
-1
No files found.
master/bt5/vifib_payzen/WorkflowTemplateItem/portal_workflow/payzen_interface_workflow/scripts/PayzenEvent_registerPayzen.xml
View file @
5231c472
...
...
@@ -64,7 +64,8 @@ service = portal.portal_secure_payments.find()\n
\n
previous_id = transaction.PaymentTransaction_getPreviousPayzenId()\n
if previous_id is None:\n
raise ValueError(\'No previous id found\')\n
payzen_event.confirm(comment=\'No previous id found\')\n
return\n
\n
previous_date, previous_id = previous_id.split(\'_\')\n
today = DateTime().toZone(\'UTC\').asdatetime().strftime(\'%Y%m%d\')\n
...
...
This diff is collapsed.
Click to expand it.
master/bt5/vifib_payzen/bt/revision
View file @
5231c472
60
\ No newline at end of file
61
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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