Skip to content

Commit a75d1e0

Browse files
author
ehowlsla
committed
kicc flutter bug update
1 parent 96423c7 commit a75d1e0

File tree

9 files changed

+13
-2
lines changed

9 files changed

+13
-2
lines changed

bootpay/.DS_Store

0 Bytes
Binary file not shown.

bootpay/src/.DS_Store

0 Bytes
Binary file not shown.

bootpay/src/main/.DS_Store

0 Bytes
Binary file not shown.

bootpay/src/main/java/.DS_Store

0 Bytes
Binary file not shown.

bootpay/src/main/java/kr/.DS_Store

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

bootpay/src/main/java/kr/co/bootpay/BootpayBuilder.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,9 @@ public void show() {
440440

441441

442442
public void request() {
443-
if(context == null) throw new IllegalStateException("context cannot be null from " + request.getUX().toString());
443+
if(context == null) {
444+
throw new IllegalStateException("context cannot be null from " + request.getUX().toString());
445+
}
444446

445447
validCheck();
446448
UserInfo.getInstance(context).update();

bootpay/src/main/java/kr/co/bootpay/valid/PGAvailable.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,20 @@ public static PG stringToPG(String pg) {
6969
return PG.KAKAO;
7070
case "payco":
7171
return PG.PAYCO;
72+
case "jtnet":
73+
return PG.TPAY;
7274
case "tpay":
7375
return PG.TPAY;
76+
case "easypay":
77+
return PG.KICC;
78+
case "kicc":
79+
return PG.KICC;
7480
case "mobilians":
7581
return PG.MOBILIANS;
7682
case "payletter":
7783
return PG.PAYLETTER;
84+
case "bootpay":
85+
return PG.BOOTPAY;
7886
default:
7987
throw new IllegalStateException(pg + " is not classified");
8088
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ public void onClick_request(View v) {
5858
// 결제호출
5959
Bootpay.init(getFragmentManager())
6060
.setApplicationId("5b14c0ffb6d49c40cda92c4e") // 해당 프로젝트(안드로이드)의 application id 값
61-
.setPG(PG.INICIS) // 결제할 PG 사
61+
.setPG(PG.KICC) // 결제할 PG 사
62+
.setContext(this)
6263
.setBootUser(bootUser)
6364
.setBootExtra(bootExtra)
6465
// .setUserPhone("010-1234-5678") // 구매자 전화번호

0 commit comments

Comments
 (0)