Skip to content

Commit dd98549

Browse files
author
ehowlsla
committed
version update
1 parent d2d2542 commit dd98549

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ allprojects {
3232
```gradle
3333
dependencies {
3434
...
35-
implementation 'com.github.bootpay:client_android_java:2.0.8'
35+
implementation 'com.github.bootpay:client_android_java:2.0.10'
3636
}
3737
```
3838

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import java.net.URISyntaxException
2525
internal class BootpayWebView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0): WebView(context, attrs, defStyleAttr) {
2626

2727
companion object {
28-
private const val BOOTPAY = "https://inapp.bootpay.co.kr/2.0.9/production.html"
28+
private const val BOOTPAY = "https://inapp.bootpay.co.kr/2.0.10/production.html"
2929

3030
private const val CLOSE = -3
3131

@@ -107,6 +107,7 @@ internal class BootpayWebView @JvmOverloads constructor(context: Context, attrs:
107107
extraQuota()
108108
),
109109
params(),
110+
"account_expire_at: '2018-08-10'",
110111
order_id()
111112
),
112113
error(),
@@ -209,6 +210,9 @@ internal class BootpayWebView @JvmOverloads constructor(context: Context, attrs:
209210

210211
private fun userPhone() = request?.userPhone?.takeIf(String::isNotEmpty)?.let { "phone: '$it'" } ?: ""
211212

213+
214+
// private fun accountExpireAt =
215+
212216
private fun extraExpireMonth() = request?.extraExpireMonth?.let { "expire_month: $it" } ?: ""
213217

214218
private fun extraVBankResult() = request?.extraVbankResult?.let { "vbank_result: $it" } ?: ""

bootpay/src/main/java/kr/co/bootpay/analytics/BootpayAnalyticsPresenter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ internal class BootpayAnalyticsPresenter(context: Context) {
1717
private val rest: RestService by lazy { RestService(context) }
1818
private val executor: Scheduler by lazy { Schedulers.from(Executors.newCachedThreadPool()) }
1919

20-
private val ver = "2.0.9"
20+
private val ver = "2.0.10"
2121

2222
fun login(
2323
id: String?,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void onClick_request(View v) {
6363
.setApplicationId("59a7e647396fa64fcad4a8c2") // 해당 프로젝트(안드로이드)의 application id 값
6464
.setPG(PG.DANAL) // 결제할 PG 사
6565
.setUserPhone("010-1234-5678") // 구매자 전화번호
66-
.setMethod(Method.CARD) // 결제수단
66+
.setMethod(Method.VBANK) // 결제수단
6767
.setName("맥북프로임다") // 결제할 상품명
6868
.setOrderId("1234") // 결제 고유번호
6969
.setQuotas(new int[] {0,2,3}) // 일시불, 2개월, 3개월 할부 허용, 할부는 최대 12개월까지 사용됨 (5만원 이상 구매시 할부허용 범위)

0 commit comments

Comments
 (0)