Skip to content

Commit 12b5df9

Browse files
author
ehowlsla
committed
payapp update
1 parent 2e17397 commit 12b5df9

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

BootpayWebView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040

4141
final class BootpayWebView extends WebView {
42-
private static final String BOOTPAY = "https://inapp.bootpay.co.kr/1.0.0/production.html";
42+
private static final String BOOTPAY = "https://inapp.bootpay.co.kr/2.0.2/production.html";
4343

4444
private ConnectivityManager connManager;
4545

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ internal class BootpayWebView @JvmOverloads constructor(context: Context, attrs:
8686
applicationId(),
8787
name(),
8888
pg(),
89+
userPhone(),
8990
agree(),
9091
method(),
9192
items(),
9293
userInfo(
9394
userName(),
9495
userEmail(),
95-
userAddr(),
96-
userPhone()
96+
userAddr()
9797
),
9898
params(),
9999
order_id()

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ public void onClick_request(View v) {
4848

4949
Bootpay.init(getFragmentManager())
5050
.setApplicationId("59a7e647396fa64fcad4a8c2") // 해당 프로젝트(안드로이드)의 application id 값
51-
.setPG(PG.KCP) // 결제할 PG 사
51+
.setPG(PG.PAYAPP) // 결제할 PG 사
52+
.setUserPhone("010-1234-5678")
5253
.setMethod(Method.CARD) // 결제수단
5354
.setName("맥북프로임다") // 결제할 상품명
5455
.setOrderId("1234") // 결제 고유번호

0 commit comments

Comments
 (0)