Skip to content

Commit a5d363e

Browse files
committed
tax_free 옵션 적용
1 parent e8bdba6 commit a5d363e

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

Example/SwiftyBootpay.xcworkspace/xcuserdata/taesupyoon.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
filePath = "SwiftyBootpay/NativeController.swift"
3131
startingColumnNumber = "9223372036854775807"
3232
endingColumnNumber = "9223372036854775807"
33-
startingLineNumber = "433"
34-
endingLineNumber = "433"
35-
landmarkName = "onDone(data:)"
33+
startingLineNumber = "416"
34+
endingLineNumber = "416"
35+
landmarkName = "onConfirm(data:)"
3636
landmarkType = "7">
3737
</BreakpointContent>
3838
</BreakpointProxy>

Example/SwiftyBootpay/NativeController.swift

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -353,17 +353,14 @@ extension NativeController {
353353

354354
let payload = BootpayPayload()
355355
payload.params {
356-
$0.price = 1000 // 결제할 금액
357-
$0.name = "블링블링's 마스카라" // 결제할 상품명
356+
$0.price = 1000 // 결제할 금액, 정기결제시 0 혹은 주석
357+
$0.name = "테스트's 마스카라" // 결제할 상품명
358358
$0.order_id = "1234_1234_124" // 결제 고유번호
359359
$0.params = customParams // 커스텀 변수
360+
$0.application_id = "5b8f6a4d396fa665fdc2b5e9"
360361

361-
$0.application_id = "5b8f6a4d396fa665fdc2b5e9"
362362

363-
364-
//
365-
// $0.user_info = bootUser
366-
// $0.pg = BootpayPG.NICEPAY // 결제할 PG사
363+
$0.pg = BootpayPG.KCP // 결제할 PG사
367364
// $0.account_expire_at = "2018-09-25" // 가상계좌 입금기간 제한 ( yyyy-mm-dd 포멧으로 입력해주세요. 가상계좌만 적용됩니다. 오늘 날짜보다 더 뒤(미래)여야 합니다 )
368365
// $0.method = "card" // 결제수단
369366
$0.show_agree_window = false
@@ -372,7 +369,8 @@ extension NativeController {
372369
$0.ux = UX.PG_DIALOG
373370
}
374371

375-
let extra = BootpayExtra()
372+
let extra = BootpayExtra()
373+
extra.popup = 1
376374

377375
// extra.offer_period = "1년치"
378376
// extra.quick_popup = 1;

SwiftyBootpay.podspec

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

1010
Pod::Spec.new do |s|
1111
s.name = 'SwiftyBootpay'
12-
s.version = '3.3.02'
12+
s.version = '3.3.1'
1313
s.summary = 'Bootpay PG Plugin For Swift'
1414

1515
# This description is used to generate tags and improve search results.

SwiftyBootpay/Classes/BootpayPayload.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ public class BootpayPayload: NSObject, BootpayParams, Mappable {
131131
var array = [
132132
"BootPay.request({",
133133
"price: '\(price)',",
134+
"tax_free: '\(tax_free)',",
134135
"application_id: '\(application_id)',",
135136
"name: '\(name.replace(target: "\"", withString: "'").replace(target: "'", withString: "\\'").replace(target: "\n", withString: ""))',",
136137
"pg:'\(pg)',",

0 commit comments

Comments
 (0)