Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Roque
slapos.core
Commits
b3bf85fb
Commit
b3bf85fb
authored
Dec 20, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent undefined error.
parent
cf63ddb3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/PaymentTransaction_redirectToManualPayzenPayment.xml
...ting/PaymentTransaction_redirectToManualPayzenPayment.xml
+2
-1
master/bt5/slapos_web/bt/revision
master/bt5/slapos_web/bt/revision
+1
-1
No files found.
master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/PaymentTransaction_redirectToManualPayzenPayment.xml
View file @
b3bf85fb
...
@@ -56,6 +56,8 @@ portal = context.getPortalObject()\n
...
@@ -56,6 +56,8 @@ portal = context.getPortalObject()\n
person = portal.ERP5Site_getAuthenticatedMemberPersonValue()\n
person = portal.ERP5Site_getAuthenticatedMemberPersonValue()\n
\n
\n
def wrapWithShadow(payment_transaction, person_relative_url):\n
def wrapWithShadow(payment_transaction, person_relative_url):\n
web_site = context.getWebSiteValue()\n
\n
transaction_date, transaction_id = payment_transaction.PaymentTransaction_getPayzenId()\n
transaction_date, transaction_id = payment_transaction.PaymentTransaction_getPayzenId()\n
if transaction_id is not None:\n
if transaction_id is not None:\n
message = payment_transaction.Base_translateString("Payment already registered.")\n
message = payment_transaction.Base_translateString("Payment already registered.")\n
...
@@ -66,7 +68,6 @@ def wrapWithShadow(payment_transaction, person_relative_url):\n
...
@@ -66,7 +68,6 @@ def wrapWithShadow(payment_transaction, person_relative_url):\n
destination_section=person_relative_url,\n
destination_section=person_relative_url,\n
)\n
)\n
\n
\n
web_site = context.getWebSiteValue()\n
callback_websection = web_site.payzen_callback\n
callback_websection = web_site.payzen_callback\n
query = make_query(dict(transaction=payment_transaction.getRelativeUrl()))\n
query = make_query(dict(transaction=payment_transaction.getRelativeUrl()))\n
system_event.generateManualPaymentPage(\n
system_event.generateManualPaymentPage(\n
...
...
master/bt5/slapos_web/bt/revision
View file @
b3bf85fb
23
24
\ 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