Skip to content

Commit ca36c7d

Browse files
committed
카드 할부버그 수정
1 parent e5e2e1c commit ca36c7d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bootpay/src/main/java/kr/co/bootpay/model/BootExtra.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private final String quotas() {
133133
StringBuilder sb = new StringBuilder();
134134
sb.append(quotas[0]);
135135
for (int i = 1; i < quotas.length; i++) sb.append(",").append(quotas[i]);
136-
return String.format(Locale.KOREA, "quotas: '%s'", sb.toString());
136+
return String.format(Locale.KOREA, "quota: '%s'", sb.toString());
137137
}
138138

139139
private final String appScheme() {

sample/src/main/java/bootpay/co/kr/samplepayment/NativeActivity.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ public void onClick_request(View v) {
7373

7474
void goPGPay() {
7575
BootUser bootUser = new BootUser().setAddr("서울시 동작구 상도로 369").setEmail("[email protected]");
76-
BootExtra bootExtra = new BootExtra().setQuotas(new int[] {0,2,3});
76+
BootExtra bootExtra = new BootExtra().setQuotas(new int[] {0,2,3}).setPopup(1);
7777
// bootExtra.setEscrow(1);
7878

7979
Bootpay.init(getFragmentManager())
8080
.setContext(this)
8181
.setApplicationId(application_id) // 해당 프로젝트(안드로이드)의 application id 값
82-
// .setPG(PG.NICEPAY) // 결제할 PG 사
83-
// .setMethod(Method.CARD)
82+
.setPG(PG.DANAL) // 결제할 PG 사
83+
.setMethod(Method.CARD)
8484
// .setEasyPayUserToken("wef")
8585
.setMethodList(Arrays.asList(Method.EASY_CARD, Method.PHONE, Method.BANK, Method.CARD, Method.VBANK))
8686
.setBootExtra(bootExtra)

0 commit comments

Comments
 (0)