Compare commits

...

2 Commits

Author SHA1 Message Date
MooN
1811fefec1 disable printing on qr_pay_failed 2025-11-20 15:50:29 +06:30
MooN
b484f69cb3 mmqr_interval
mmqr interval connection with TMS
2025-11-20 15:49:55 +06:30
4 changed files with 6 additions and 4 deletions

View File

@ -166,7 +166,8 @@ public class TransactionResultFragment extends DataBindingFragment implements Da
} else if (transactionType == TransactionsType.SETTLEMENT) { } else if (transactionType == TransactionsType.SETTLEMENT) {
handleSettlementTransaction(siriusReq); handleSettlementTransaction(siriusReq);
} else if (isWavePayNonSuccessTransaction(transactionType, payDetail)) { } else if (isWavePayNonSuccessTransaction(transactionType, payDetail)) {
startPrintProcess(false); // startPrintProcess(false);
showDeclineDialog("QR Payment Failed!");
navigateToMainScreen(); navigateToMainScreen();
} else if (isWavePaySuccessTransaction(transactionType, payDetail)) { } else if (isWavePaySuccessTransaction(transactionType, payDetail)) {
handleWavePaySuccessTransaction(payDetail, siriusReq); handleWavePaySuccessTransaction(payDetail, siriusReq);

View File

@ -422,6 +422,9 @@ public class TMSSetupsImpl implements TMSSetups{
} else if (TextUtils.equals(name,"qrpay_enable")) { } else if (TextUtils.equals(name,"qrpay_enable")) {
SystemParamsOperation.getInstance().setQRPayStatus(parseBoolean(data)); SystemParamsOperation.getInstance().setQRPayStatus(parseBoolean(data));
} else if(TextUtils.equals(name, "mmqr_interval_waiting_time")){
SystemParamsOperation.getInstance().setWaveIntervalTime(data);
} else if (TextUtils.equals(name,"print_iso_enable")) { } else if (TextUtils.equals(name,"print_iso_enable")) {
SystemParamsOperation.getInstance().setPrintISOStatus(parseBoolean(data)); SystemParamsOperation.getInstance().setPrintISOStatus(parseBoolean(data));

View File

@ -15,8 +15,6 @@
<variable name="carouselAdapter" type="androidx.recyclerview.widget.RecyclerView.Adapter"/> <variable name="carouselAdapter" type="androidx.recyclerview.widget.RecyclerView.Adapter"/>
<variable name="myAdapter" type="com.utsmm.kbz.ui.adapters.MainAdapter"/> <variable name="myAdapter" type="com.utsmm.kbz.ui.adapters.MainAdapter"/>
</data> </data>
<!-- ======== ROOT ======== --> <!-- ======== ROOT ======== -->
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout

View File

@ -308,7 +308,7 @@
<string name="title_processing">Processing</string> <string name="title_processing">Processing</string>
<string name="enter_trans_id_text">Enter Transaction Id</string> <string name="enter_trans_id_text">Enter Transaction Id</string>
<string name="title_trans_id">Transaction Id</string> <string name="title_trans_id">Transaction Id</string>
<string name="title_wave_pay">MMQR Pay(title)</string> <string name="title_wave_pay">MMQR Pay</string>
<string name="title_qr_scan">QR Scan</string> <string name="title_qr_scan">QR Scan</string>
<string name="txt_wave_pay_description">Please scan here to complete your payment.</string> <string name="txt_wave_pay_description">Please scan here to complete your payment.</string>
<string name="txt_title_papaer_roll">Paper roll not found!</string> <string name="txt_title_papaer_roll">Paper roll not found!</string>