How can i create a pay button with Installments (such as in 4 times) in javascript?
I have this for one time payment:
payment: function(data, actions) {
return actions.payment.create({
payment: {
transactions: [
{
amount: { total: value, currency: 'BRL' },
invoice_number: id
}
]
}
});
},
How can we make it in installments? Can't find anything for javascript in the Docs.
... View more