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()) { if (baseUrl.isEmpty()) {
baseUrl = "http://api.kbzpay.com/payment/gateway/uat/"; baseUrl = "https://api.kbzpay.com/payment/gateway/";
} }
return new Retrofit.Builder() return new Retrofit.Builder()
.baseUrl(baseUrl) .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/"; // public static String Refund_Base_Url = "https://api.kbzpay.com:18008/payment/gateway/uat/";
String refundBaseUrl = ""; String refundBaseUrl = "https://api.kbzpay.com:8008/payment/gateway/";
String IpAddress = SystemParamsOperation.getInstance().getSecHostIpAddress(); // String IpAddress = SystemParamsOperation.getInstance().getSecHostIpAddress();
if (IpAddress != null && !IpAddress.isEmpty()) { // if (IpAddress != null && !IpAddress.isEmpty()) {
refundBaseUrl = IpAddress; // refundBaseUrl = IpAddress;
} // }
//
if (refundBaseUrl.isEmpty()) { // if (refundBaseUrl.isEmpty()) {
refundBaseUrl = "https://api.kbzpay.com/payment/gateway/"; // refundBaseUrl = "https://api.kbzpay.com/payment/gateway/";
} // }
String pass = SystemParamsOperation.getInstance().getCertificatePassword(); String pass = SystemParamsOperation.getInstance().getCertificatePassword();
if (TextUtils.isEmpty(pass)) { if (TextUtils.isEmpty(pass)) {