Skip to content

Commit 31b627e

Browse files
committed
npay 로그인 버그 개선
1 parent 0d63439 commit 31b627e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ private Boolean isSpecialCase(String url) {
200200
|| url.startsWith("kftc-bankpay://")
201201
|| url.startsWith("v3mobileplusweb://")
202202
|| url.startsWith("hdcardappcardansimclick://")
203+
|| url.startsWith("nidlogin://")
203204
|| url.startsWith("mpocket.online.ansimclick://");
204205
}
205206

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ void goPGPay() {
9090
Bootpay.init(getFragmentManager())
9191
.setContext(this)
9292
.setApplicationId(application_id) // 해당 프로젝트(안드로이드)의 application id 값
93-
.setPG(PG.DANAL) // 결제할 PG 사
94-
.setMethod(Method.CARD)
93+
.setPG(PG.KCP) // 결제할 PG 사
94+
.setMethod(Method.NPAY)
9595
// .setEasyPayUserToken("wef")
9696
// .setMethodList(Arrays.asList(Method.EASY_CARD, Method.PHONE, Method.BANK, Method.CARD, Method.VBANK))
9797
.setBootExtra(bootExtra)
@@ -183,6 +183,8 @@ void readyBootPay() {
183183
void startBootPay(String userToken) {
184184
BootUser bootUser = new BootUser().setPhone("010-1234-5678");
185185
BootExtra bootExtra = new BootExtra().setQuotas(new int[] {0,2,3});
186+
bootExtra.setPopup(0);
187+
bootExtra.setQuickPopup(0);
186188

187189

188190
Bootpay.init(getFragmentManager())

0 commit comments

Comments
 (0)