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 {
}
return true;
case "fail":
// Expire the bill immediately , when payment failed.
bill.setExpires(new Date());
break;
case "pending":
case "delayed":
logBanking(MoyaEventType.BANKING_MESSAGE, "Received status: " + status, fields);
......
......@@ -62,8 +62,7 @@ public enum LanEventPropertyKey {
*/
EVENT_CURRENCY_CODE(Type.TEXT, "EUR"),
ALLOW_FREE_BILLS(Type.BOOL),
KEYCHECKOUT_V2_ENABLED(Type.BOOL)
;
KEYCHECKOUT_V2_ENABLED(Type.BOOL, "1");
public enum Type {
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!