Skip to content

Commit

Permalink
Merge pull request #935 from mercadopago/fix/api-issuer-snippet
Browse files Browse the repository at this point in the history
Checkout API - getInstallments update por issuerId
  • Loading branch information
lamaralmp authored Nov 19, 2020
2 parents a6b7362 + d491f63 commit a4601c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function getInstallments(paymentMethodId, transactionAmount, issuerId){
window.Mercadopago.getInstallments({
"payment_method_id": paymentMethodId,
"amount": parseFloat(transactionAmount),
"issuer_id": issuerId ? parseInt(issuerId) : undefined
"issuer_id": parseInt(issuerId)
}, setInstallments);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ function getInstallments(paymentMethodId, transactionAmount, issuerId){
window.Mercadopago.getInstallments({
"payment_method_id": paymentMethodId,
"amount": parseFloat(transactionAmount),
"issuer_id": issuerId ? parseInt(issuerId) : undefined
"issuer_id": parseInt(issuerId)
}, setInstallments);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ function getInstallments(paymentMethodId, transactionAmount, issuerId){
window.Mercadopago.getInstallments({
"payment_method_id": paymentMethodId,
"amount": parseFloat(transactionAmount),
"issuer_id": issuerId ? parseInt(issuerId) : undefined
"issuer_id": parseInt(issuerId)
}, setInstallments);
}

Expand Down

0 comments on commit a4601c9

Please sign in to comment.