Skip to content

Commit 52688a1

Browse files
committed
kakaopay bug fixed
1 parent 870b1d4 commit 52688a1

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed
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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,9 @@ public BootpayBuilder setMethod(Method method) {
294294
case AUTH:
295295
request.setMethod("auth");
296296
break;
297+
case EASY:
298+
request.setMethod("easy");
299+
break;
297300
}
298301
return this;
299302
}

sample/sample.iml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,7 @@
121121
<orderEntry type="module" module-name="bootpay" />
122122
<orderEntry type="module" module-name="bootpay" />
123123
<orderEntry type="module" module-name="bootpay" />
124+
<orderEntry type="module" module-name="bootpay" />
125+
<orderEntry type="module" module-name="bootpay" />
124126
</component>
125127
</module>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class NativeActivity extends Activity {
2828
private int stuck = 1;
2929
//5b9f51264457636ab9a07cdc
3030
// private String application_id = "5b9f51264457636ab9a07cdc";
31-
private String application_id = "5dcd014e02f57e0021893e7f";
31+
private String application_id = "5b8f6a4d396fa665fdc2b5e8";
3232

3333
// private String application_id = "5dc42bf24f74b40034c5f484";
3434

@@ -81,8 +81,8 @@ public void onClick_request(View v) {
8181
Bootpay.init(getFragmentManager())
8282
.setContext(this)
8383
.setApplicationId(application_id) // 해당 프로젝트(안드로이드)의 application id 값
84-
.setPG(PG.INICIS) // 결제할 PG 사
85-
.setMethod(Method.BANK)
84+
.setPG(PG.KAKAO) // 결제할 PG 사
85+
.setMethod(Method.EASY)
8686
.setBootExtra(bootExtra)
8787
.setBootUser(bootUser)
8888
// .setUserPhone("010-1234-5678") // 구매자 전화번호

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
public class WebAppActivity extends Activity {
3030
// WebView webview;
3131
BootpayWebView webview;
32-
// final String url = "https://g-cdn.bootpay.co.kr/test/payment/index.html";
33-
final String url = "https://test-shop.bootpay.co.kr";
32+
final String url = "https://g-cdn.bootpay.co.kr/test/payment/index.html";
33+
// final String url = "https://test-shop.bootpay.co.kr";
3434

3535
// final String android_application_id = "59a4d4a1929b3f3b8b6422c8"; //dev
3636
// final String android_application_id = "5b14c0ffb6d49c40cda92c4e";

0 commit comments

Comments
 (0)