Skip to content

Commit

Permalink
v1 pg 대신 channelKey 를 사용하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
CirnoV committed Oct 22, 2024
1 parent d31a522 commit e78c691
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
10 changes: 1 addition & 9 deletions src/state/v1-cert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,7 @@ export const codePreviewSignal = computed<string>(() => {
export const fields = {
userCode: v1PayFields.userCode,
tierCode: v1PayFields.tierCode,
pg: {
required: true,
label: "지원 PG사",
input: {
type: "text",
placeholder: "inicis_unified",
default: "",
},
},
channelKey: v1PayFields.channelKey,
merchant_uid: {
required: true,
label: "고객사 고유 요청 번호",
Expand Down
11 changes: 2 additions & 9 deletions src/state/v1-pay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
import type { Fields } from "./fields";
import { prefix } from "./persisted";
import { createAccountSignals, sdkV1Signal } from "./v1";
import { fields as v2PayFields } from "./v2-pay";

export function reset() {
resetFieldSignals(fields, fieldSignals);
Expand Down Expand Up @@ -75,15 +76,7 @@ export const fields = {
default: "",
},
},
pg: {
required: true,
label: "지원 PG사",
input: {
type: "text",
placeholder: "html5_inicis",
default: "",
},
},
channelKey: v2PayFields.channelKey,
pay_method: {
required: true,
label: "결제 수단",
Expand Down

0 comments on commit e78c691

Please sign in to comment.