Skip to content

Commit 19800e8

Browse files
authored
Merge pull request #35 from kurtulussahin/feature/adding_enabledInstallment_parameter_for_bkm_initialize
enabledInstallment parameter added in bkm initialize
2 parents 4b72a9d + 67c7ff0 commit 19800e8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/requests/CreateBkmInitializeRequest.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ function CreateBkmInitializeRequest(request) {
2222
return BasketItem.body(basketItem);
2323
}),
2424
callbackUrl: request["callbackUrl"],
25-
paymentSource: request["paymentSource"]
25+
paymentSource: request["paymentSource"],
26+
enabledInstallments: request["enabledInstallments"]
2627
});
2728
}
2829

samples/IyzipaySamples.js

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ describe('Iyzipay API Test', function () {
7373
basketId: 'B67832',
7474
paymentGroup: Iyzipay.PAYMENT_GROUP.PRODUCT,
7575
callbackUrl: 'https://www.merchant.com/callback',
76+
enabledInstallments: [2, 3, 6, 9],
7677
buyer: {
7778
id: 'BY789',
7879
name: 'John',

0 commit comments

Comments
 (0)