Commit 6262d1a9 by Tuukka Kivilahti

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
...@@ -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);
......
...@@ -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
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!