File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 "dotenv" : " ^8.2.0" ,
1414 "ejs" : " ^3.0.1" ,
1515 "express" : " ^4.17.1" ,
16- "fintecture-client" : " ^2.0.0 " ,
16+ "fintecture-client" : " ^2.0.1 " ,
1717 "path" : " ^0.12.7" ,
1818 "qrcode" : " ^1.4.4"
1919 }
Original file line number Diff line number Diff line change @@ -110,4 +110,6 @@ function checkConnectParams(params) {
110110 if ( Number ( params . amount ) <= 0 ) errors . push ( 'Amount should be greater than 0' )
111111}
112112
113- app . listen ( 1237 , ( ) => console . log ( "Fintecture App listening on port 1237..." ) )
113+ const port = process . env . PIS_CONNECT_PORT || 1237 ;
114+
115+ app . listen ( port , ( ) => console . log ( "Fintecture App listening on port " + port + "..." ) )
Original file line number Diff line number Diff line change 1313 <form name =" form1" method =" POST" action =" /connect" >
1414 <div class =" form-group" >
1515 <label for =" amount" >* Amount</label >
16- <input type =" number" id =" amount" name =" amount" value =" <%= amount %>" >
16+ <input type =" number" id =" amount" name =" amount" value =" <%= amount %>" min = " 0 " step = " 0.01 " >
1717 </div >
1818 <div class =" form-group" >
1919 <label for =" currency" >* Currency</label >
You can’t perform that action at this time.
0 commit comments