diff --git a/SodaLive/Sources/Debug/Utils/Constants.swift b/SodaLive/Sources/Debug/Utils/Constants.swift index d2b3d9d..42cf4a3 100644 --- a/SodaLive/Sources/Debug/Utils/Constants.swift +++ b/SodaLive/Sources/Debug/Utils/Constants.swift @@ -14,3 +14,4 @@ let AGORA_APP_ID = "b96574e191a9430fa54c605528aa3ef7" let AGORA_APP_CERTIFICATE = "ae18ade3afcf4086bd4397726eb0654c" let BOOTPAY_APP_ID = "6242a7772701800023f68b2f" +let BOOTPAY_APP_HECTO_ID = "667fca5d3bab7404f831c3e5" diff --git a/SodaLive/Sources/MyPage/Can/Payment/CanPgPaymentViewModel.swift b/SodaLive/Sources/MyPage/Can/Payment/CanPgPaymentViewModel.swift index 910e1c4..44c8cb0 100644 --- a/SodaLive/Sources/MyPage/Can/Payment/CanPgPaymentViewModel.swift +++ b/SodaLive/Sources/MyPage/Can/Payment/CanPgPaymentViewModel.swift @@ -50,8 +50,8 @@ final class CanPgPaymentViewModel: ObservableObject { let decoded = try jsonDecoder.decode(ApiResponse.self, from: responseData) if let data = decoded.data, decoded.success { - payload.applicationId = BOOTPAY_APP_ID - payload.pg = "웰컴페이먼츠" + payload.applicationId = paymentMethod == .phone ? BOOTPAY_APP_ID : BOOTPAY_APP_HECTO_ID + payload.pg = paymentMethod == .phone ? "웰컴페이먼츠" : "세틀뱅크" payload.orderId = "\(data.chargeId)" payload.method = paymentMethod!.rawValue diff --git a/SodaLive/Sources/MyPage/Can/Payment/Temp/CanPaymentTempViewModel.swift b/SodaLive/Sources/MyPage/Can/Payment/Temp/CanPaymentTempViewModel.swift index 0e3b813..ada9836 100644 --- a/SodaLive/Sources/MyPage/Can/Payment/Temp/CanPaymentTempViewModel.swift +++ b/SodaLive/Sources/MyPage/Can/Payment/Temp/CanPaymentTempViewModel.swift @@ -54,7 +54,7 @@ final class CanPaymentTempViewModel: ObservableObject { bootUser.userId = "\(UserDefaults.int(forKey: .userId))" bootUser.username = UserDefaults.string(forKey: .nickname) - payload.applicationId = BOOTPAY_APP_ID + payload.applicationId = BOOTPAY_APP_HECTO_ID payload.pg = "세틀뱅크" payload.orderId = "\(data.chargeId)" payload.method = paymentMethod!.rawValue diff --git a/SodaLive/Sources/Utils/Constants.swift b/SodaLive/Sources/Utils/Constants.swift index 7f8949c..7895add 100644 --- a/SodaLive/Sources/Utils/Constants.swift +++ b/SodaLive/Sources/Utils/Constants.swift @@ -14,3 +14,4 @@ let AGORA_APP_ID = "e34e40046e9847baba3adfe2b8ffb4f6" let AGORA_APP_CERTIFICATE = "15cadeea4ba94ff7b091c9a10f4bf4a6" let BOOTPAY_APP_ID = "64c35be1d25985001dc50c88" +let BOOTPAY_APP_HECTO_ID = "664c1707b18b225deca4b42a"