refund url

This commit is contained in:
MooN 2026-01-14 11:45:03 +06:30
parent 58118a2fb5
commit 98c94ec2d3

View File

@ -254,7 +254,7 @@ public class NetworkModule {
}
if (baseUrl.isEmpty()) {
baseUrl = "http://api.kbzpay.com/payment/gateway/uat/";
baseUrl = "https://api.kbzpay.com/payment/gateway/";
}
return new Retrofit.Builder()
.baseUrl(baseUrl)
@ -395,17 +395,17 @@ public Retrofit provideKPayRefundRetrofit(@ApplicationContext Context context) {
// public static String Refund_Base_Url = "https://api.kbzpay.com:18008/payment/gateway/uat/";
String refundBaseUrl = "";
String IpAddress = SystemParamsOperation.getInstance().getSecHostIpAddress();
String refundBaseUrl = "https://api.kbzpay.com:8008/payment/gateway/";
// String IpAddress = SystemParamsOperation.getInstance().getSecHostIpAddress();
if (IpAddress != null && !IpAddress.isEmpty()) {
refundBaseUrl = IpAddress;
}
if (refundBaseUrl.isEmpty()) {
refundBaseUrl = "https://api.kbzpay.com/payment/gateway/";
}
// if (IpAddress != null && !IpAddress.isEmpty()) {
// refundBaseUrl = IpAddress;
// }
//
// if (refundBaseUrl.isEmpty()) {
// refundBaseUrl = "https://api.kbzpay.com/payment/gateway/";
// }
String pass = SystemParamsOperation.getInstance().getCertificatePassword();
if (TextUtils.isEmpty(pass)) {