Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6262d1a9
authored
Dec 01, 2019
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Payment fail should not cancel whole bill. PAyment will ie. fail if user chooses…
… wrong bank and pressess 'cancel'
1 parent
e2ab4ee1
Pipeline
#175
failed
in 0 seconds
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
5 deletions
code/moya-beans/ejbModule/fi/codecrew/moya/beans/CheckoutFiV2Bean.java
code/moya-database/src/main/java/fi/codecrew/moya/model/LanEventPropertyKey.java
code/moya-beans/ejbModule/fi/codecrew/moya/beans/CheckoutFiV2Bean.java
View file @
6262d1a
...
@@ -131,9 +131,6 @@ public class CheckoutFiV2Bean implements CheckoutFiV2BeanLocal {
...
@@ -131,9 +131,6 @@ public class CheckoutFiV2Bean implements CheckoutFiV2BeanLocal {
}
}
return
true
;
return
true
;
case
"fail"
:
case
"fail"
:
// Expire the bill immediately , when payment failed.
bill
.
setExpires
(
new
Date
());
break
;
case
"pending"
:
case
"pending"
:
case
"delayed"
:
case
"delayed"
:
logBanking
(
MoyaEventType
.
BANKING_MESSAGE
,
"Received status: "
+
status
,
fields
);
logBanking
(
MoyaEventType
.
BANKING_MESSAGE
,
"Received status: "
+
status
,
fields
);
...
...
code/moya-database/src/main/java/fi/codecrew/moya/model/LanEventPropertyKey.java
View file @
6262d1a
...
@@ -62,8 +62,7 @@ public enum LanEventPropertyKey {
...
@@ -62,8 +62,7 @@ public enum LanEventPropertyKey {
*/
*/
EVENT_CURRENCY_CODE
(
Type
.
TEXT
,
"EUR"
),
EVENT_CURRENCY_CODE
(
Type
.
TEXT
,
"EUR"
),
ALLOW_FREE_BILLS
(
Type
.
BOOL
),
ALLOW_FREE_BILLS
(
Type
.
BOOL
),
KEYCHECKOUT_V2_ENABLED
(
Type
.
BOOL
)
KEYCHECKOUT_V2_ENABLED
(
Type
.
BOOL
,
"1"
);
;
public
enum
Type
{
public
enum
Type
{
TEXT
,
DATE
,
DATA
,
BOOL
,
LONG
TEXT
,
DATE
,
DATA
,
BOOL
,
LONG
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment